summaryrefslogtreecommitdiff
path: root/www/amaya/patches
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-07 19:16:57 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-07 19:16:57 +0000
commitcfc11af9472cdf97418b857339eb217c65e0884a (patch)
treed4054a8a3bd96cf649395b88d69963113bc76ed8 /www/amaya/patches
parenteebc94b3354fe99d1bb82fc0069c42f4321de07f (diff)
downloadpkgsrc-cfc11af9472cdf97418b857339eb217c65e0884a.tar.gz
added fixes for Darwin
Diffstat (limited to 'www/amaya/patches')
-rw-r--r--www/amaya/patches/patch-af14
-rw-r--r--www/amaya/patches/patch-ag14
-rw-r--r--www/amaya/patches/patch-ai13
3 files changed, 41 insertions, 0 deletions
diff --git a/www/amaya/patches/patch-af b/www/amaya/patches/patch-af
new file mode 100644
index 00000000000..f4db67257a1
--- /dev/null
+++ b/www/amaya/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.7 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../thotlib/view/tesse.c.orig 2006-10-06 21:36:50.000000000 +0200
++++ ../thotlib/view/tesse.c 2006-10-06 21:37:08.000000000 +0200
+@@ -11,7 +11,9 @@
+ */
+
+ #include <stdio.h>
++#ifndef _MACOS
+ #include <malloc.h>
++#endif
+ #include <string.h>
+
+ #ifdef _WINGUI
diff --git a/www/amaya/patches/patch-ag b/www/amaya/patches/patch-ag
new file mode 100644
index 00000000000..d486b8d502d
--- /dev/null
+++ b/www/amaya/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.6 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../tools/cextract-1.7/xtract.h.orig 2006-10-07 20:26:18.000000000 +0200
++++ ../tools/cextract-1.7/xtract.h 2006-10-07 20:29:52.000000000 +0200
+@@ -15,7 +15,8 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <time.h>
+-#ifdef _POSIX_SOURCE
++#if defined(_POSIX_SOURCE) || defined(__APPLE__)
++/* Darwin defines malloc() in stdlib.h. */
+ #include <stdlib.h>
+ #endif /* _POSIX_SOURCE_ */
+ #if __STDC__
diff --git a/www/amaya/patches/patch-ai b/www/amaya/patches/patch-ai
new file mode 100644
index 00000000000..cd281c4ecd3
--- /dev/null
+++ b/www/amaya/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../amaya/Makefile.in.orig 2006-10-07 20:38:11.000000000 +0200
++++ ../amaya/Makefile.in 2006-10-07 20:38:40.000000000 +0200
+@@ -615,7 +615,7 @@
+ fi)
+
+ # MACOSX bundelization
+- @(if test $(AMAYAOS) = "MACOSX" ; then \
++ @(if test $(AMAYAOS) = "XXXXXX" ; then \
+ $(RM) -r $(prefix)/Amaya.app ; \
+ $(MKDIR) $(prefix)/Amaya.app ; \
+ $(MKDIR) $(prefix)/Amaya.app/Contents ; \