summaryrefslogtreecommitdiff
path: root/graphics/magicpoint/patches
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-05-25 01:30:22 +0000
committerdanw <danw@pkgsrc.org>2004-05-25 01:30:22 +0000
commit309acb41d27290cdd1d896cba7a9035aa1aa5791 (patch)
tree6b56dc4621cee4d81a6811280a04c159a00af483 /graphics/magicpoint/patches
parent0a4cca83b64f38692711c346f8b2ad642b87a90a (diff)
downloadpkgsrc-309acb41d27290cdd1d896cba7a9035aa1aa5791.tar.gz
darwin fixes: use ${MAKE_FLAGS} as well as ${MAKE_ENV} in the post-configure
rule (qv bsd.pkg.mk rev 1.1425), rename a function that conflicts with a system function, and change malloc.h to stdlib.h
Diffstat (limited to 'graphics/magicpoint/patches')
-rw-r--r--graphics/magicpoint/patches/patch-af13
-rw-r--r--graphics/magicpoint/patches/patch-ag13
2 files changed, 26 insertions, 0 deletions
diff --git a/graphics/magicpoint/patches/patch-af b/graphics/magicpoint/patches/patch-af
new file mode 100644
index 00000000000..f5419218202
--- /dev/null
+++ b/graphics/magicpoint/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/05/25 01:30:22 danw Exp $
+
+--- image/image.h.orig Mon May 24 21:09:56 2004
++++ image/image.h
+@@ -182,6 +182,8 @@ unsigned long doMemToValLSB();
+ unsigned long doValToMemLSB();
+ void flipBits();
+
++#define zopen mgp_zopen
++
+ ZFILE *zopen();
+ int zread();
+ void zreset();
diff --git a/graphics/magicpoint/patches/patch-ag b/graphics/magicpoint/patches/patch-ag
new file mode 100644
index 00000000000..29405757d4f
--- /dev/null
+++ b/graphics/magicpoint/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/05/25 01:30:22 danw Exp $
+
+--- image/new.c.orig Mon Dec 28 03:23:13 1998
++++ image/new.c
+@@ -11,7 +11,7 @@
+ #include "copyright.h"
+ #include "image.h"
+
+-#include <malloc.h>
++#include <stdlib.h>
+
+ extern int _Xdebug;
+ extern void memoryExhausted(void);