summaryrefslogtreecommitdiffstats
path: root/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:54:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:54:45 +0000
commitd0422d0401cab1eea9a2533964141028bcbd65e8 (patch)
tree58fae3776f0a2347887e55793d6ec2bbf235afba /package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
parent671ddcd2a3bc41f02451b27fbe350d912d75baec (diff)
downloadbuildroot-novena-d0422d0401cab1eea9a2533964141028bcbd65e8.tar.gz
buildroot-novena-d0422d0401cab1eea9a2533964141028bcbd65e8.zip
- I had to apply this patch to get it to build with a uClibc-snapshot..
Diffstat (limited to 'package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch')
-rw-r--r--package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch b/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
new file mode 100644
index 000000000..dd3595178
--- /dev/null
+++ b/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
@@ -0,0 +1,12 @@
+--- sfdisk/sfdisk.c.oorig 2006-10-09 16:24:06.000000000 +0200
++++ sfdisk/sfdisk.c 2006-10-09 16:24:20.000000000 +0200
+@@ -47,6 +47,9 @@
+ #include <sys/stat.h>
+ #include <sys/utsname.h>
+ #ifdef __linux__
++#define _LIBC
++#include <sys/syscall.h>
++#undef _LIBC
+ #include <linux/unistd.h> /* _syscall */
+ #endif
+ #include "nls.h"