summaryrefslogtreecommitdiff
path: root/games/maelstrom-x11/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-30 22:41:27 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-30 22:41:27 +0000
commit06c3764607f803fb46741ba6e02a9b2f53030e15 (patch)
tree65eb83b438568e98c9c8806653939abd1c84b712 /games/maelstrom-x11/patches
parent93be5c6820e6e673eac12a060383c38f8b452b3e (diff)
downloadpkgsrc-06c3764607f803fb46741ba6e02a9b2f53030e15.tar.gz
Add DragonFly support. Fix ossaudio usage. Use system perror.
Diffstat (limited to 'games/maelstrom-x11/patches')
-rw-r--r--games/maelstrom-x11/patches/patch-aa4
-rw-r--r--games/maelstrom-x11/patches/patch-ab20
-rw-r--r--games/maelstrom-x11/patches/patch-ak12
3 files changed, 27 insertions, 9 deletions
diff --git a/games/maelstrom-x11/patches/patch-aa b/games/maelstrom-x11/patches/patch-aa
index d303c6a9de3..16780561966 100644
--- a/games/maelstrom-x11/patches/patch-aa
+++ b/games/maelstrom-x11/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2005/12/30 22:41:27 joerg Exp $
--- Makeflags.orig Mon Jul 14 14:32:13 1997
+++ Makeflags Sun Jul 30 01:32:07 2000
@@ -41,7 +41,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $
+X11LIBS = -lX11 -lXext -lXpm
+CSUMLIB =
+LIBS = $(EXTRALIBS) $(XPMLINKDIR) $(X11LINKDIR) $(X11LIBS) $(CSUMLIB)
-+SOUNDLIBS = -lossaudio
++SOUNDLIBS = ${LIBOSSAUDIO}
+
+INSTALL = /usr/bin/install
+
diff --git a/games/maelstrom-x11/patches/patch-ab b/games/maelstrom-x11/patches/patch-ab
index c15135a90d9..0437bcb9752 100644
--- a/games/maelstrom-x11/patches/patch-ab
+++ b/games/maelstrom-x11/patches/patch-ab
@@ -1,25 +1,31 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/30 22:41:27 joerg Exp $
---- bitesex.h.orig Sun May 25 17:18:10 1997
-+++ bitesex.h Mon Jul 24 17:55:08 2000
-@@ -20,5 +20,5 @@
+--- bitesex.h.orig 1997-05-25 21:18:10.000000000 +0000
++++ bitesex.h
+@@ -19,13 +19,15 @@
+ #ifdef _INCLUDE_HPUX_SOURCE
#include <machine/param.h>
#else
-#ifdef __mips
+#if defined(__mips) && !defined(__NetBSD__)
#include <sex.h>
#else
-@@ -26,5 +26,5 @@
+ #ifdef _AIX
#include <sys/machine.h>
#else
-#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__DragonFly__)
++#include <sys/endian.h>
++#elif defined(__FreeBSD__) || defined(__NetBSD__)
#include <machine/endian.h>
#else
-@@ -38,5 +38,5 @@
+ #if defined(__svr4__)
+@@ -37,7 +39,7 @@
+ #error Compiling for an unknown architecture!
#endif /* Win95 */
#endif /* SVR4 */
-#endif /* FreeBSD */
+#endif /* FreeBSD/NetBSD */
#endif /* AIX */
#endif /* DEC */
+ #endif /* HPUX */
diff --git a/games/maelstrom-x11/patches/patch-ak b/games/maelstrom-x11/patches/patch-ak
new file mode 100644
index 00000000000..81e13a0ebc2
--- /dev/null
+++ b/games/maelstrom-x11/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1 2005/12/30 22:41:27 joerg Exp $
+
+--- myerror.h.orig 2005-12-30 22:18:47.000000000 +0000
++++ myerror.h
+@@ -8,7 +8,5 @@ extern void error(char *fmt, ...);
+ extern void mesg(char *fmt, ...);
+ extern void myperror(char *msg);
+
+-#define perror(msg) myperror(msg)
+-
+ #endif /* _myerror_h */
+