net-nds/389-ds-base: Revbump to add build patch provided by upstream
authorWes Cilldhaire <wes@sol1.com.au>
Sun, 18 Dec 2016 07:39:57 +0000 (18:39 +1100)
committerGöktürk Yüksek <gokturk@gentoo.org>
Thu, 5 Jan 2017 16:32:35 +0000 (11:32 -0500)
Adds AC_PROG_CC_STDC to configure.ac

Acked-by: wibrown@redhat.com
Package-Manager: portage-2.3.2

net-nds/389-ds-base/389-ds-base-1.3.5.15-r1.ebuild [moved from net-nds/389-ds-base/389-ds-base-1.3.5.15.ebuild with 98% similarity]
net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch [new file with mode: 0644]

similarity index 98%
rename from net-nds/389-ds-base/389-ds-base-1.3.5.15.ebuild
rename to net-nds/389-ds-base/389-ds-base-1.3.5.15-r1.ebuild
index 374642fba00900ee5d91b68873218e0a61b58177..6565701061b919cbebcd6e8b4db6a7ca76f9209e 100644 (file)
@@ -51,6 +51,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+       epatch "${FILESDIR}/389-ds-base-1.3.5-stdc.patch"
+
        # as per 389 documentation, when 64bit, export USE_64
        use amd64 && export USE_64=1
 
diff --git a/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch b/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch
new file mode 100644 (file)
index 0000000..a43048b
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 3e0f8aa..846e3b4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -29,6 +29,7 @@ AC_PROG_CXX
+ AC_PROG_CC
+ AM_PROG_CC_C_O
+ AM_PROG_AS
++AC_PROG_CC_STDC
+ # disable static libs by default - we only use a couple
+ AC_DISABLE_STATIC
+ AC_PROG_LIBTOOL
+