diff options
author | Juergen Daubert <jue@jue.li> | 2010-08-06 13:12:38 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2010-08-06 13:12:38 +0200 |
commit | f60b2fc8d40b963f03205db00da6bfa3a8595e89 (patch) | |
tree | 21d38fdcdd12e1ce82e9259b038a0ee7c2b5acb8 /m4 | |
parent | 4dbf0a18338830761e4e4faf367c99be8f31d9fc (diff) | |
download | core-f60b2fc8d40b963f03205db00da6bfa3a8595e89.tar.gz core-f60b2fc8d40b963f03205db00da6bfa3a8595e89.tar.xz |
m4: include stat.h to build with glibc 2.12
See http://article.gmane.org/gmane.comp.gnu.m4.patches/1214
Diffstat (limited to 'm4')
-rw-r--r-- | m4/.md5sum | 1 | ||||
-rw-r--r-- | m4/Pkgfile | 6 | ||||
-rw-r--r-- | m4/m4-1.4.14-include_stat.patch | 13 |
3 files changed, 18 insertions, 2 deletions
@@ -1 +1,2 @@ +65aaf436ae56a2b8a98ca6490a637589 m4-1.4.14-include_stat.patch e2b871099546846d1df586f195f79b53 m4-1.4.14.tar.xz @@ -4,11 +4,13 @@ name=m4 version=1.4.14 -release=1 -source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) +release=2 +source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz + $name-$version-include_stat.patch) build() { cd $name-$version + patch -p1 -i $SRC/$name-$version-include_stat.patch ./configure --prefix=/usr --mandir=/usr/man make make DESTDIR=$PKG install diff --git a/m4/m4-1.4.14-include_stat.patch b/m4/m4-1.4.14-include_stat.patch new file mode 100644 index 00000000..6a8993d5 --- /dev/null +++ b/m4/m4-1.4.14-include_stat.patch @@ -0,0 +1,13 @@ +# http://article.gmane.org/gmane.comp.gnu.m4.patches/1214 + +diff -Nru m4-1.4.14.orig/src/m4.h m4-1.4.14/src/m4.h +--- m4-1.4.14.orig/src/m4.h 2010-08-06 08:46:39.299428640 +0000 ++++ m4-1.4.14/src/m4.h 2010-08-06 08:47:02.695302376 +0000 +@@ -33,6 +33,7 @@ + #include <stdint.h> + #include <string.h> ++#include <sys/stat.h> + #include <sys/types.h> + + #include "binary-io.h" + #include "clean-temp.h" |