* [gentoo-commits] proj/anaconda-overlay:master commit in: app-admin/anaconda/, app-admin/anaconda/files/
@ 2011-06-09 22:36 Wiktor W Brodlo
0 siblings, 0 replies; only message in thread
From: Wiktor W Brodlo @ 2011-06-09 22:36 UTC (permalink / raw
To: gentoo-commits
commit: 3e5712570ef2df8e3d17b9f2dee123409e5cce51
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Thu Jun 9 22:29:16 2011 +0000
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Thu Jun 9 22:29:16 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda-overlay.git;a=commit;h=3e571257
app-admin/anaconda: add new glibc compat patches
---
app-admin/anaconda/anaconda-0.9.9.53.ebuild | 4 ++++
app-admin/anaconda/files/audit-glibc-fix.patch | 10 ++++++++++
.../anaconda/files/libselinux-glibc-fix.patch | 10 ++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/app-admin/anaconda/anaconda-0.9.9.53.ebuild b/app-admin/anaconda/anaconda-0.9.9.53.ebuild
index f96b8d0..ecf8717 100644
--- a/app-admin/anaconda/anaconda-0.9.9.53.ebuild
+++ b/app-admin/anaconda/anaconda-0.9.9.53.ebuild
@@ -64,6 +64,10 @@ src_unpack() {
else
base_src_unpack
fi
+ export EPATCH_OPTS="-d${S}"
+ # Patch the internal libs to fix new glibc incompatibility
+ epatch "${FILESDIR}/audit-glibc-fix.patch"
+ epatch "${FILESDIR}/libselinux-glibc-fix.patch"
}
src_prepare() {
diff --git a/app-admin/anaconda/files/audit-glibc-fix.patch b/app-admin/anaconda/files/audit-glibc-fix.patch
new file mode 100644
index 0000000..ccc0168
--- /dev/null
+++ b/app-admin/anaconda/files/audit-glibc-fix.patch
@@ -0,0 +1,10 @@
+--- ../audit-1.7.9.orig/lib/libaudit.c 2008-11-05 18:56:26.000000000 +0000
++++ ../audit-1.7.9/lib/libaudit.c 2011-06-09 22:18:36.861689444 +0000
+@@ -36,6 +36,7 @@
+ #include <sys/utsname.h>
+ #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
+ #include <limits.h> /* for PATH_MAX */
++#include <sys/stat.h>
+
+ #include "libaudit.h"
+ #include "private.h"
diff --git a/app-admin/anaconda/files/libselinux-glibc-fix.patch b/app-admin/anaconda/files/libselinux-glibc-fix.patch
new file mode 100644
index 0000000..d9a9040
--- /dev/null
+++ b/app-admin/anaconda/files/libselinux-glibc-fix.patch
@@ -0,0 +1,10 @@
+--- ../libselinux-2.0.85.orig/src/label_file.c 2009-07-31 02:14:16.000000000 +0000
++++ ../libselinux-2.0.85/src/label_file.c 2011-06-09 22:23:07.790689224 +0000
+@@ -17,6 +17,7 @@
+ #include <errno.h>
+ #include <limits.h>
+ #include <regex.h>
++#include <sys/stat.h>
+ #include "callbacks.h"
+ #include "label_internal.h"
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-09 22:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 22:36 [gentoo-commits] proj/anaconda-overlay:master commit in: app-admin/anaconda/, app-admin/anaconda/files/ Wiktor W Brodlo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox