commit:     70895bca9568456d93717864a3d8d4003638294c
Author:     Wes Cilldhaire <wes <AT> sol1 <DOT> com <DOT> au>
AuthorDate: Sun Dec 18 07:39:57 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 16:32:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70895bca

net-nds/389-ds-base: Revbump to add build patch provided by upstream

Adds AC_PROG_CC_STDC to configure.ac

Acked-by: wibrown <AT> redhat.com

Package-Manager: portage-2.3.2

 ...-base-1.3.5.15.ebuild => 389-ds-base-1.3.5.15-r1.ebuild} |  2 ++
 net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch      | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/net-nds/389-ds-base/389-ds-base-1.3.5.15.ebuild 
b/net-nds/389-ds-base/389-ds-base-1.3.5.15-r1.ebuild
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 374642f..6565701 100644
--- a/net-nds/389-ds-base/389-ds-base-1.3.5.15.ebuild
+++ b/net-nds/389-ds-base/389-ds-base-1.3.5.15-r1.ebuild
@@ -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
index 00000000..a43048b
--- /dev/null
+++ b/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch
@@ -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
+

Reply via email to