summaryrefslogtreecommitdiff
path: root/packages/parted/files/syscalls.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-07-10 17:08:25 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-07-10 17:08:25 +0000
commit001fbbcb59692a09577f5eee3d6f2fbabe5a6230 (patch)
treef97a01c968baf6d5946fbf882dafdbd4682a55fa /packages/parted/files/syscalls.patch
parent8d7824dc72be5193f1f22c631434eaef77dec5ce (diff)
parted 1.8.7: Make buildable with latest linux-headers.
* Add an adhoc syscall macros include, and they are gone. * Also add a hacky patch to make sure that libparted build properly with autoconf 2.59, but it really requires 2.61.
Diffstat (limited to 'packages/parted/files/syscalls.patch')
-rw-r--r--packages/parted/files/syscalls.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/parted/files/syscalls.patch b/packages/parted/files/syscalls.patch
new file mode 100644
index 0000000000..be9b91cb9c
--- /dev/null
+++ b/packages/parted/files/syscalls.patch
@@ -0,0 +1,10 @@
+--- parted-1.8.7/libparted/arch/linux.c.org 2007-05-09 23:40:13.000000000 +0300
++++ parted-1.8.7/libparted/arch/linux.c 2007-07-10 18:20:27.000000000 +0300
+@@ -32,6 +32,7 @@
+ #include <stdio.h>
+ #include <syscall.h>
+ #include <unistd.h>
++#include "syscalls.h"
+ #include <dirent.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>