summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-20 23:10:17 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-20 23:10:17 +0200
commitd0648f10a2055d4731ff9fc8a572387edc91ddf6 (patch)
tree5a8991266abbb3568713936ab2e06f5481030934 /app-admin/radmind
parentpackage.mask: mask zuluCrypt for removal (diff)
downloadgentoo-d0648f10a2055d4731ff9fc8a572387edc91ddf6.tar.gz
gentoo-d0648f10a2055d4731ff9fc8a572387edc91ddf6.tar.bz2
gentoo-d0648f10a2055d4731ff9fc8a572387edc91ddf6.zip
app-admin/radmind: Fix build with glibc-2.25, bug 580916
Closes: https://bugs.gentoo.org/580916 Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'app-admin/radmind')
-rw-r--r--app-admin/radmind/files/radmind-1.14.1-glibc225.patch22
-rw-r--r--app-admin/radmind/radmind-1.14.1-r1.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/app-admin/radmind/files/radmind-1.14.1-glibc225.patch b/app-admin/radmind/files/radmind-1.14.1-glibc225.patch
new file mode 100644
index 000000000000..60ff5925ae11
--- /dev/null
+++ b/app-admin/radmind/files/radmind-1.14.1-glibc225.patch
@@ -0,0 +1,22 @@
+diff -ruN radmind-1.14.1.orig/transcript.c radmind-1.14.1/transcript.c
+--- radmind-1.14.1.orig/transcript.c 2010-12-13 04:42:49.000000000 +0100
++++ radmind-1.14.1/transcript.c 2017-10-20 23:07:47.126110238 +0200
+@@ -6,6 +6,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/param.h>
+ #ifdef sun
+ #include <sys/mkdev.h>
+diff -ruN radmind-1.14.1.orig/update.c radmind-1.14.1/update.c
+--- radmind-1.14.1.orig/update.c 2010-12-13 04:42:49.000000000 +0100
++++ radmind-1.14.1/update.c 2017-10-20 23:07:29.173898776 +0200
+@@ -6,6 +6,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <sys/param.h>
+ #ifdef sun
diff --git a/app-admin/radmind/radmind-1.14.1-r1.ebuild b/app-admin/radmind/radmind-1.14.1-r1.ebuild
index cfc09f32cca2..2637e4c08285 100644
--- a/app-admin/radmind/radmind-1.14.1-r1.ebuild
+++ b/app-admin/radmind/radmind-1.14.1-r1.ebuild
@@ -24,6 +24,7 @@ src_prepare() {
# remove dnssd as it doesn't compile
epatch "${FILESDIR}"/${PN}-1.7.1-dnssd.patch
epatch "${FILESDIR}"/${PN}-1.14.0-parallel-make.patch
+ epatch "${FILESDIR}"/${PN}-1.14.1-glibc225.patch
}
src_install() {