summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:31:33 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:31:33 +0200
commit333b1fc984d6a1636a176ff9bc88b75cd21a2d4b (patch)
tree94fd44c693b304ea2b8c3d848e2a636431318a2b
parent7d1aa6067f8426a65861cb6cca5cff6312dd988e (diff)
downloadnutyx-pakxe-333b1fc984d6a1636a176ff9bc88b75cd21a2d4b.tar.gz
nutyx-pakxe-333b1fc984d6a1636a176ff9bc88b75cd21a2d4b.tar.bz2
nutyx-pakxe-333b1fc984d6a1636a176ff9bc88b75cd21a2d4b.tar.xz
nutyx-pakxe-333b1fc984d6a1636a176ff9bc88b75cd21a2d4b.zip
gettext glibc 2.16 fix
-rw-r--r--gettext/.footprint.i6864
-rw-r--r--gettext/.footprint.x86_644
-rwxr-xr-xgettext/Pkgfile22
3 files changed, 15 insertions, 15 deletions
diff --git a/gettext/.footprint.i686 b/gettext/.footprint.i686
index e6afc5abb..1fa7a30c7 100644
--- a/gettext/.footprint.i686
+++ b/gettext/.footprint.i686
@@ -85,10 +85,9 @@ drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/xsize.m4
drwxr-xr-x root/root usr/share/gettext/
-rw-r--r-- root/root usr/share/gettext/ABOUT-NLS
--rw-r--r-- root/root usr/share/gettext/archive.git.tar.gz
+-rw-r--r-- root/root usr/share/gettext/archive.dir.tar.gz
-rwxr-xr-x root/root usr/share/gettext/config.rpath
-rw-r--r-- root/root usr/share/gettext/gettext.h
--rw-r--r-- root/root usr/share/gettext/gettext.jar
drwxr-xr-x root/root usr/share/gettext/intl/
-rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.0
-rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.1
@@ -156,7 +155,6 @@ drwxr-xr-x root/root usr/share/gettext/intl/
-rw-r--r-- root/root usr/share/gettext/intl/wprintf-parse.h
-rw-r--r-- root/root usr/share/gettext/intl/xsize.h
-rw-r--r-- root/root usr/share/gettext/javaversion.class
--rw-r--r-- root/root usr/share/gettext/libintl.jar
-rw-r--r-- root/root usr/share/gettext/msgunfmt.tcl
drwxr-xr-x root/root usr/share/gettext/po/
-rw-r--r-- root/root usr/share/gettext/po/Makefile.in.in
diff --git a/gettext/.footprint.x86_64 b/gettext/.footprint.x86_64
index e6afc5abb..1fa7a30c7 100644
--- a/gettext/.footprint.x86_64
+++ b/gettext/.footprint.x86_64
@@ -85,10 +85,9 @@ drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/xsize.m4
drwxr-xr-x root/root usr/share/gettext/
-rw-r--r-- root/root usr/share/gettext/ABOUT-NLS
--rw-r--r-- root/root usr/share/gettext/archive.git.tar.gz
+-rw-r--r-- root/root usr/share/gettext/archive.dir.tar.gz
-rwxr-xr-x root/root usr/share/gettext/config.rpath
-rw-r--r-- root/root usr/share/gettext/gettext.h
--rw-r--r-- root/root usr/share/gettext/gettext.jar
drwxr-xr-x root/root usr/share/gettext/intl/
-rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.0
-rw-r--r-- root/root usr/share/gettext/intl/COPYING.LIB-2.1
@@ -156,7 +155,6 @@ drwxr-xr-x root/root usr/share/gettext/intl/
-rw-r--r-- root/root usr/share/gettext/intl/wprintf-parse.h
-rw-r--r-- root/root usr/share/gettext/intl/xsize.h
-rw-r--r-- root/root usr/share/gettext/javaversion.class
--rw-r--r-- root/root usr/share/gettext/libintl.jar
-rw-r--r-- root/root usr/share/gettext/msgunfmt.tcl
drwxr-xr-x root/root usr/share/gettext/po/
-rw-r--r-- root/root usr/share/gettext/po/Makefile.in.in
diff --git a/gettext/Pkgfile b/gettext/Pkgfile
index 4957db609..753c43829 100755
--- a/gettext/Pkgfile
+++ b/gettext/Pkgfile
@@ -6,15 +6,19 @@
name=gettext
version=0.18.1.1
release=1
-source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
-cd $name-$version
-./configure --prefix=/usr
-make
-make DESTDIR=$PKG install
-if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
-fi
-rm -rf $PKG/usr/share/doc
+ cd $name-$version
+
+
+ sed -i '/gets is a security hole/d' gettext-{runtime/gnulib-lib,tools/{gnulib-lib,libgettextpo}}/stdio.in.h
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+ rm -rf $PKG/usr/share/doc
}