commit:     d0648f10a2055d4731ff9fc8a572387edc91ddf6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 20 21:10:17 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 21:10:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0648f10

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

 .../radmind/files/radmind-1.14.1-glibc225.patch    | 22 ++++++++++++++++++++++
 app-admin/radmind/radmind-1.14.1-r1.ebuild         |  1 +
 2 files changed, 23 insertions(+)

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 00000000000..60ff5925ae1
--- /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 cfc09f32cca..2637e4c0828 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() {

Reply via email to