summaryrefslogtreecommitdiff
path: root/recipes/m4/files
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-02 16:15:07 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-02 16:23:12 +0800
commit368b4b672f58009cd76cb9c8e87f217e5c222668 (patch)
tree16436fd8eae439347cbdb61ba8ce21846dd5fbc0 /recipes/m4/files
parent49a99cc3c0b0309be0930d2b3de6465e67522957 (diff)
m4: Fix m4-native-1.4.14 build on Fedora13...
The build error was a link failure not finding S_ISDIR which is a macro provided for the stat syscall..
Diffstat (limited to 'recipes/m4/files')
-rw-r--r--recipes/m4/files/f13-compile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/m4/files/f13-compile.patch b/recipes/m4/files/f13-compile.patch
new file mode 100644
index 0000000000..c69241adc5
--- /dev/null
+++ b/recipes/m4/files/f13-compile.patch
@@ -0,0 +1,16 @@
+Index: m4-1.4.14/src/path.c
+===================================================================
+--- m4-1.4.14.orig/src/path.c
++++ m4-1.4.14/src/path.c
+@@ -24,6 +24,11 @@
+
+ #include "m4.h"
+
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <unistd.h>
++
++
+ struct includes
+ {
+ struct includes *next; /* next directory to search */