summaryrefslogtreecommitdiff
path: root/games/heretic/files/patch-w__wad.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /games/heretic/files/patch-w__wad.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'games/heretic/files/patch-w__wad.c')
-rw-r--r--games/heretic/files/patch-w__wad.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/heretic/files/patch-w__wad.c b/games/heretic/files/patch-w__wad.c
new file mode 100644
index 000000000000..bad6d45cf355
--- /dev/null
+++ b/games/heretic/files/patch-w__wad.c
@@ -0,0 +1,19 @@
+--- w_wad.c.orig 2003-12-08 23:10:35 UTC
++++ w_wad.c
+@@ -15,7 +15,6 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <assert.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+@@ -27,8 +26,6 @@
+ #define O_BINARY 0
+ #endif /* UNIX */
+
+-#include <malloc.h>
+-
+ #ifdef __GLIBC__
+ /* kludge for broken asm-sparc/io.h on linux 2.2.14.? */
+ #ifdef __sparc__