summaryrefslogtreecommitdiffstats
path: root/testing/par2cmdline/par2cmdline-0.4-autoconf.patch
diff options
context:
space:
mode:
authorKalonji <lonkaji@gmail.com>2011-01-05 20:51:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-06 16:46:58 +0000
commite0ea45d11b5a05c041de8dc84d3e9c08347cbf17 (patch)
tree8b38515d772335cbd21b566032a486f0bbbf90f6 /testing/par2cmdline/par2cmdline-0.4-autoconf.patch
parentcb424d1f4591b21f95289a1bcc2cc081076af6e5 (diff)
downloadaports-e0ea45d11b5a05c041de8dc84d3e9c08347cbf17.tar.bz2
aports-e0ea45d11b5a05c041de8dc84d3e9c08347cbf17.tar.xz
new port: par2cmdline
Diffstat (limited to 'testing/par2cmdline/par2cmdline-0.4-autoconf.patch')
-rw-r--r--testing/par2cmdline/par2cmdline-0.4-autoconf.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/par2cmdline/par2cmdline-0.4-autoconf.patch b/testing/par2cmdline/par2cmdline-0.4-autoconf.patch
new file mode 100644
index 000000000..a0f2fbb55
--- /dev/null
+++ b/testing/par2cmdline/par2cmdline-0.4-autoconf.patch
@@ -0,0 +1,22 @@
+--- ../orig/par2cmdline-0.4/par2cmdline.h 2004-04-15 15:30:02.000000000 +0200
++++ ./par2cmdline.h 2007-03-24 13:25:43.000000000 +0100
+@@ -132,6 +132,10 @@
+ typedef unsigned long long u64;
+ #endif
+
++// FIXME: this is not done right w/ autoconf
++#include <sys/ioctl.h>
++#include <sys/mount.h>
++
+ #if HAVE_SYS_STAT_H
+ # include <sys/stat.h>
+ #endif
+@@ -179,6 +183,8 @@
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/ioctl.h>
++#include <sys/mount.h>
+ #include <dirent.h>
+ #include <assert.h>
+