summaryrefslogtreecommitdiff
path: root/audio/xamp/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 15:32:56 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 15:32:56 +0000
commit580c216db2a1c719a9838f897446a8f852b660fb (patch)
tree78ac8f3743a77fad4f5c3c41a95ab8256df75d8a /audio/xamp/patches
parent64a7ea5c3c80543fa77cab379b8bff83e7fed240 (diff)
downloadpkgsrc-580c216db2a1c719a9838f897446a8f852b660fb.tar.gz
Add DragonFly support.
XXX Use the changes for FreeBSD as well?
Diffstat (limited to 'audio/xamp/patches')
-rw-r--r--audio/xamp/patches/patch-aa16
-rw-r--r--audio/xamp/patches/patch-af8
-rw-r--r--audio/xamp/patches/patch-ai13
-rw-r--r--audio/xamp/patches/patch-am17
4 files changed, 40 insertions, 14 deletions
diff --git a/audio/xamp/patches/patch-aa b/audio/xamp/patches/patch-aa
index a91d5859590..14c15fd39c4 100644
--- a/audio/xamp/patches/patch-aa
+++ b/audio/xamp/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2000/10/18 11:22:44 rh Exp $
+$NetBSD: patch-aa,v 1.5 2005/12/12 15:32:56 joerg Exp $
---- ../audioIO.c.orig Sat May 31 23:47:58 1997
-+++ ../audioIO.c Sun Oct 1 15:47:54 2000
-@@ -6,6 +6,10 @@
+--- ../audioIO.c.orig 1997-05-31 15:47:58.000000000 +0000
++++ ../audioIO.c
+@@ -6,10 +6,18 @@
#include "audioIO_Linux.c"
#endif
@@ -13,3 +13,11 @@ $NetBSD: patch-aa,v 1.4 2000/10/18 11:22:44 rh Exp $
#ifdef OS_BSD
#include "audioIO_Linux.c"
#endif
+
++#ifdef OS_DragonFly
++ #include "audioIO_Linux.c"
++#endif
++
+ #if defined(OS_IRIX) || defined(OS_IRIX64)
+ #include "audioIO_IRIX.c"
+ #endif
diff --git a/audio/xamp/patches/patch-af b/audio/xamp/patches/patch-af
index 418eb259e9e..0104b46e8d1 100644
--- a/audio/xamp/patches/patch-af
+++ b/audio/xamp/patches/patch-af
@@ -1,13 +1,13 @@
-$NetBSD: patch-af,v 1.3 2000/10/18 11:22:44 rh Exp $
+$NetBSD: patch-af,v 1.4 2005/12/12 15:32:56 joerg Exp $
---- ../audioIO.h.orig Sat May 31 23:47:58 1997
-+++ ../audioIO.h Sun Oct 1 15:47:55 2000
+--- ../audioIO.h.orig 1997-05-31 15:47:58.000000000 +0000
++++ ../audioIO.h
@@ -7,7 +7,7 @@
#define AUSIZ 32768
#endif
-#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_NetBSD)
++#if defined(OS_Linux) || defined(OS_NetBSD) || defined(OS_DragonFly)
extern int AUSIZ;
#endif
diff --git a/audio/xamp/patches/patch-ai b/audio/xamp/patches/patch-ai
index cebce55fcdc..ea9f5b216b4 100644
--- a/audio/xamp/patches/patch-ai
+++ b/audio/xamp/patches/patch-ai
@@ -1,6 +1,6 @@
-$NetBSD: patch-ai,v 1.5 2004/05/11 12:18:37 wiz Exp $
+$NetBSD: patch-ai,v 1.6 2005/12/12 15:32:56 joerg Exp $
---- configure.orig 1997-10-26 15:55:34.000000000 +0100
+--- configure.orig 1997-10-26 14:55:34.000000000 +0000
+++ configure
@@ -970,7 +970,7 @@ fi
#try to guess qt locations
@@ -11,6 +11,15 @@ $NetBSD: patch-ai,v 1.5 2004/05/11 12:18:37 wiz Exp $
qt_incdir=NO
for i in $qt_incdirs;
+@@ -1700,7 +1700,7 @@ case "$OS_TYPE" in
+ CFLAGS="-O3 -ffast-math -funroll-loops"
+ ;;
+
+- Linux|FreeBSD)
++ Linux|FreeBSD|DragonFly)
+ CC="gcc"
+ if test "$ARCH_TYPE" = "i486" ; then
+ CFLAGS_ARCH="-m486"
@@ -1714,6 +1714,11 @@ case "$OS_TYPE" in
CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
;;
diff --git a/audio/xamp/patches/patch-am b/audio/xamp/patches/patch-am
index e4b79b9a627..bd2dcbf00b0 100644
--- a/audio/xamp/patches/patch-am
+++ b/audio/xamp/patches/patch-am
@@ -1,8 +1,17 @@
-$NetBSD: patch-am,v 1.3 2004/05/11 12:18:37 wiz Exp $
+$NetBSD: patch-am,v 1.4 2005/12/12 15:32:56 joerg Exp $
---- ../configure.orig Sat Aug 23 17:11:24 1997
-+++ ../configure Mon Oct 16 21:13:14 2000
-@@ -1413,6 +1413,11 @@
+--- ../configure.orig 1997-08-23 09:11:24.000000000 +0000
++++ ../configure
+@@ -1398,7 +1398,7 @@ case "$OS_TYPE" in
+ DEFINES="-DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+ ;;
+
+- Linux|FreeBSD)
++ Linux|FreeBSD|DragonFly)
+ CC="gcc"
+ if test "$ARCH_TYPE" = "i486" ; then
+ CFLAGS_ARCH="-m486"
+@@ -1413,6 +1413,11 @@ case "$OS_TYPE" in
DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
;;