summaryrefslogtreecommitdiff
path: root/media-gfx/duhdraw/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/duhdraw/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/duhdraw/files')
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch12
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch18
2 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
new file mode 100644
index 000000000000..30be358e46d3
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
@@ -0,0 +1,12 @@
+--- ./duhdraw-2.8.13/duhdraw.c.orig 2005-03-02 09:22:46.000000000 +0100
++++ ./duhdraw-2.8.13/duhdraw.c 2006-11-16 09:56:21.000000000 +0100
+@@ -12,7 +12,9 @@
+ #include <stdio.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
++#ifndef __APPLE__
+ #include <malloc.h>
++#endif
+ #include <time.h>
+ #include <curses.h>
+ #include <ctype.h>
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
new file mode 100644
index 000000000000..0162f39370aa
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
@@ -0,0 +1,18 @@
+--- ./duhdraw-2.8.13/Makefile.orig 2005-03-02 09:22:46.000000000 +0100
++++ ./duhdraw-2.8.13/Makefile 2006-11-16 09:58:29.000000000 +0100
+@@ -12,15 +12,12 @@
+
+ ansi: cleanansi
+ $(CC) -o ansi ansi.c ansi-esc.c $(LIBS)
+- $(STRIP) ansi
+
+ duhdraw: cleandd
+ $(CC) -o duhdraw duhdraw.c ansi-esc.c $(LIBS)
+- $(STRIP) duhdraw
+
+ ansitoc: cleanansitoc
+ $(CC) -o ansitoc ansitoc.c
+- $(STRIP) ansitoc
+
+ cleanansi:
+ rm -f ansi