pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xamp Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f0edf461ecd
branches:  trunk
changeset: 504512:3f0edf461ecd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Dec 12 15:32:56 2005 +0000

description:
Add DragonFly support.

XXX Use the changes for FreeBSD as well?

diffstat:

 audio/xamp/distinfo         |  10 +++++-----
 audio/xamp/patches/patch-aa |  16 ++++++++++++----
 audio/xamp/patches/patch-af |   8 ++++----
 audio/xamp/patches/patch-ai |  13 +++++++++++--
 audio/xamp/patches/patch-am |  17 +++++++++++++----
 5 files changed, 45 insertions(+), 19 deletions(-)

diffs (135 lines):

diff -r 0cff3c1afddb -r 3f0edf461ecd audio/xamp/distinfo
--- a/audio/xamp/distinfo       Mon Dec 12 15:16:36 2005 +0000
+++ b/audio/xamp/distinfo       Mon Dec 12 15:32:56 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:53 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/12 15:32:56 joerg Exp $
 
 SHA1 (xamp/xamp-0.8-10.tgz) = 65f83c41091184432d64baf1d74aef880733fbd5
 RMD160 (xamp/xamp-0.8-10.tgz) = 9141bbcbfae0d7ea2a04939b4fee7edfd1403d04
@@ -12,19 +12,19 @@
 SHA1 (xamp/mmxamp.tar.gz) = f703dfe3040bd72db35bb05e26a8eb7841b54887
 RMD160 (xamp/mmxamp.tar.gz) = a4a509ecf2c36e65369e70364281486ab491b8e3
 Size (xamp/mmxamp.tar.gz) = 41405 bytes
-SHA1 (patch-aa) = a178fc8dee38f4e55eff7289577f2f4b36806574
+SHA1 (patch-aa) = 50574884e35679ad425b25c5886ef96661288964
 SHA1 (patch-ab) = 96c0e3db7637c035345cbf2df7d2ee195b538bcb
 SHA1 (patch-ac) = de83b1fd7b170438f818d76d025838f8aa07c752
 SHA1 (patch-ad) = 3595460ae4f848b60d1c829ebfecff92cd2a8e58
 SHA1 (patch-ae) = 348aff7b4cef04198359c4ea5d7e06cc2b63fd08
-SHA1 (patch-af) = be56e4d380045d0be4c90c88b263cacd611d0eab
+SHA1 (patch-af) = 45568633714f7fbea443001b0af252e6d3310223
 SHA1 (patch-ag) = c17579b095485510bc5dc99d0c22da2f44e152b8
 SHA1 (patch-ah) = 2460dd3cc32f18847f99cdc3f5cefa87601a4c85
-SHA1 (patch-ai) = 9c128048fdb8bed0fb7abd15758a197bd3e35487
+SHA1 (patch-ai) = cea0ed01b293457d5660cf6ecff95e616f608eb5
 SHA1 (patch-aj) = ab841128854cdacceb54b6c7726d07e5f4fb1140
 SHA1 (patch-ak) = 0d32700aad4cdf232bc1c48376ddcbd762b41852
 SHA1 (patch-al) = 38760f05d5ca7b4557c6d8ddfb0b08cbc4b0dd9b
-SHA1 (patch-am) = 1847c96306c21514adb4f2825bf17c9ea6fd3f0f
+SHA1 (patch-am) = 6930ab1879789ee4c762da345d5bccb862f06c8a
 SHA1 (patch-an) = 19fdd266a633afccf7ec4de18a8fc5aa7975354f
 SHA1 (patch-ao) = c3d125d0498052c1f37ce3a3597ca50827779aca
 SHA1 (patch-ap) = 4b4429e3c4a9e8324808cf7b1443db4dddc14cb9
diff -r 0cff3c1afddb -r 3f0edf461ecd audio/xamp/patches/patch-aa
--- a/audio/xamp/patches/patch-aa       Mon Dec 12 15:16:36 2005 +0000
+++ b/audio/xamp/patches/patch-aa       Mon Dec 12 15:32:56 2005 +0000
@@ -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 @@
  #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 -r 0cff3c1afddb -r 3f0edf461ecd audio/xamp/patches/patch-af
--- a/audio/xamp/patches/patch-af       Mon Dec 12 15:16:36 2005 +0000
+++ b/audio/xamp/patches/patch-af       Mon Dec 12 15:32:56 2005 +0000
@@ -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 -r 0cff3c1afddb -r 3f0edf461ecd audio/xamp/patches/patch-ai
--- a/audio/xamp/patches/patch-ai       Mon Dec 12 15:16:36 2005 +0000
+++ b/audio/xamp/patches/patch-ai       Mon Dec 12 15:32:56 2005 +0000
@@ -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 @@
  
  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 -r 0cff3c1afddb -r 3f0edf461ecd audio/xamp/patches/patch-am
--- a/audio/xamp/patches/patch-am       Mon Dec 12 15:16:36 2005 +0000
+++ b/audio/xamp/patches/patch-am       Mon Dec 12 15:32:56 2005 +0000
@@ -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" 
      ;;
  



Home | Main Index | Thread Index | Old Index