[Lunar-commits] <moonbase-core> Glibc 2.16.0 incompatibility fixes for a handful modules
Stefan Wold
ratler at lunar-linux.org
Wed Aug 8 00:37:24 CEST 2012
commit 589de56e7298d2816502923d34132cddf727bf4e
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Tue, 07 Aug 2012 15:37:24 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/589de56e7298d2816502923d34132cddf727bf4e
Glibc 2.16.0 incompatibility fixes for a handful modules
---
archive/cpio/BUILD +2/-0
devel/diffutils/BUILD +4/-0
devel/m4/BUILD +2/-0
libs/gettext/BUILD +2/-0
net/inetutils/BUILD +3/-0
utils/findutils/BUILD +3/-0
6 files changed, 16 insertions (+), 0 deletions (-)
--- a/archive/cpio/BUILD
+++ b/archive/cpio/BUILD
@@ -1,5 +1,7 @@
(
+ # Fixes an incompatibility with glibc-2.16
+ sedit '/gets is a/d' gnu/stdio.in.h &&
default_config &&
if module_installed mt-st ; then
sedit 's/install:: installdirs all/install:: installdirs/' Makefile &&
--- a/devel/diffutils/BUILD
+++ b/devel/diffutils/BUILD
@@ -1,6 +1,10 @@
(
bad_flags -malign-double
+
+ # Fixes an incompatibility with glibc-2.16
+ sedit '/gets is a/d' lib/stdio.in.h &&
+
default_build
) > $C_FIFO 2>&1
--- a/devel/m4/BUILD
+++ b/devel/m4/BUILD
@@ -1,4 +1,6 @@
(
+ # Fixes an incompatibility with glibc-2.16
+ sedit '/gets is a/d' lib/stdio.in.h &&
sedit "s/\infodir = \$(prefix)\/info/infodir = \$(prefix)\/share\/info/" Makefile.in &&
./configure --build=$BUILD \
--- a/libs/gettext/BUILD
+++ b/libs/gettext/BUILD
@@ -1,4 +1,6 @@
(
+ # Fixes an incompatibility with glibc-2.16
+ sedit '/gets is a/d' gettext-*/*/stdio.in.h &&
if !( module_installed emacs ); then
OPTS+=" --without-emacs"
--- a/net/inetutils/BUILD
+++ b/net/inetutils/BUILD
@@ -11,6 +11,9 @@
--disable-whois \
--disable-rpath" &&
+ # Fixes an incompatibility with glibc-2.16
+ sedit '/gets is a/d' lib/stdio.in.h &&
+
default_build
) > $C_FIFO 2>&1
--- a/utils/findutils/BUILD
+++ b/utils/findutils/BUILD
@@ -3,6 +3,9 @@
sedit 's:(localstatedir)/locatedb:(localstatedir)/cache/locate/locatedb:g' locate/Makefile.in &&
sedit 's:PRUNEPATHS="/tmp :PRUNEPATHS="/proc /tmp :g' locate/updatedb.sh &&
+ # Fixes an incompatibility with glibc 2.16
+ sedit '/gets is a/d' gnulib/lib/stdio.in.h &&
+
default_build &&
mkdir -p /var/cache/locate &&
if [ -f /var/cache/locatedb ] ; then
More information about the Lunar-commits
mailing list