m4: include stat.h to build with glibc 2.12
See http://article.gmane.org/gmane.comp.gnu.m4.patches/1214
This commit is contained in:
parent
4dbf0a1833
commit
f60b2fc8d4
@ -1 +1,2 @@
|
|||||||
|
65aaf436ae56a2b8a98ca6490a637589 m4-1.4.14-include_stat.patch
|
||||||
e2b871099546846d1df586f195f79b53 m4-1.4.14.tar.xz
|
e2b871099546846d1df586f195f79b53 m4-1.4.14.tar.xz
|
||||||
|
@ -4,11 +4,13 @@
|
|||||||
|
|
||||||
name=m4
|
name=m4
|
||||||
version=1.4.14
|
version=1.4.14
|
||||||
release=1
|
release=2
|
||||||
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
||||||
|
$name-$version-include_stat.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
patch -p1 -i $SRC/$name-$version-include_stat.patch
|
||||||
./configure --prefix=/usr --mandir=/usr/man
|
./configure --prefix=/usr --mandir=/usr/man
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
13
m4/m4-1.4.14-include_stat.patch
Normal file
13
m4/m4-1.4.14-include_stat.patch
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user