summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-11 03:11:06 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-11 03:11:06 +0000
commit96c09de971d5867acfd16b82a310a78d8aae4652 (patch)
treee6119e4187acfba96cf242d52416cfc6059d32ff /app-text/unix2dos/files
parentold (diff)
downloadgentoo-2-96c09de971d5867acfd16b82a310a78d8aae4652.tar.gz
gentoo-2-96c09de971d5867acfd16b82a310a78d8aae4652.tar.bz2
gentoo-2-96c09de971d5867acfd16b82a310a78d8aae4652.zip
Fix missing prototype warnings and use emake to build rather than running CC ourself.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'app-text/unix2dos/files')
-rw-r--r--app-text/unix2dos/files/unix2dos-2.2-headers.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/unix2dos/files/unix2dos-2.2-headers.patch b/app-text/unix2dos/files/unix2dos-2.2-headers.patch
new file mode 100644
index 000000000000..c57859ab4c79
--- /dev/null
+++ b/app-text/unix2dos/files/unix2dos-2.2-headers.patch
@@ -0,0 +1,12 @@
+need unistd.h for close() and unlink()
+
+--- unix2dos.c
++++ unix2dos.c
+@@ -62,6 +62,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <utime.h>
++#include <unistd.h>
+ #include <sys/stat.h>
+ #include "unix2dos.h"
+