summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/389-ds-base')
-rw-r--r--net-nds/389-ds-base/389-ds-base-1.3.5.15-r1.ebuild (renamed from net-nds/389-ds-base/389-ds-base-1.3.5.15.ebuild)2
-rw-r--r--net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch13
2 files changed, 15 insertions, 0 deletions
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
index 374642fba009..6565701061b9 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 000000000000..a43048b6e7c8
--- /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
+