summaryrefslogtreecommitdiff
path: root/audio/xsidplay/patches
diff options
context:
space:
mode:
authorfrueauf <frueauf>1999-07-08 07:35:25 +0000
committerfrueauf <frueauf>1999-07-08 07:35:25 +0000
commit6577150a2518d95757209ed213d3a70cfe0cb4cb (patch)
tree7e0ef9cf73c4f75084ab2af3441c016913cbc4be /audio/xsidplay/patches
parentb9a0e1d0d4569558ae9ea0795012ca1d0f390ad9 (diff)
downloadpkgsrc-6577150a2518d95757209ed213d3a70cfe0cb4cb.tar.gz
Update xsidplay to 1.3.8. Provided in pr 7911 by Antti Kantee.
Diffstat (limited to 'audio/xsidplay/patches')
-rw-r--r--audio/xsidplay/patches/patch-aa77
-rw-r--r--audio/xsidplay/patches/patch-ab33
-rw-r--r--audio/xsidplay/patches/patch-ac13
-rw-r--r--audio/xsidplay/patches/patch-ad16
-rw-r--r--audio/xsidplay/patches/patch-ae16
5 files changed, 0 insertions, 155 deletions
diff --git a/audio/xsidplay/patches/patch-aa b/audio/xsidplay/patches/patch-aa
deleted file mode 100644
index ba2e97984cd..00000000000
--- a/audio/xsidplay/patches/patch-aa
+++ /dev/null
@@ -1,77 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $
-
---- configure.orig Sat Apr 10 12:43:55 1999
-+++ configure Sat Apr 10 12:45:13 1999
-@@ -9,9 +9,7 @@
-
- # Defaults:
- ac_help=
--ac_default_prefix=/usr/local
--# Any additions from configure.in:
--ac_default_prefix=/usr
-+ac_default_prefix=${PREFIX}
- ac_help="$ac_help
- --with-sidplay-includes=DIR
- where the sidplay includes are located"
-@@ -1533,6 +1531,42 @@
- else
- echo "$ac_t""no" 1>&6
- fi
-+
-+echo $ac_n "checking for main in -lossaudio""... $ac_c" 1>&6
-+echo "configure:1446: checking for main in -lossaudio" >&5
-+ac_lib_var=`echo ossaudio'_'main | sed 'y%./+-%__p_%'`
-+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-+ echo $ac_n "(cached) $ac_c" 1>&6
-+else
-+ ac_save_LIBS="$LIBS"
-+LIBS="-lossaudio $LIBS"
-+cat > conftest.$ac_ext <<EOF
-+#line 1454 "configure"
-+#include "confdefs.h"
-+
-+int main() {
-+main()
-+; return 0; }
-+EOF
-+if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-+ rm -rf conftest*
-+ eval "ac_cv_lib_$ac_lib_var=yes"
-+else
-+ echo "configure: failed program was:" >&5
-+ cat conftest.$ac_ext >&5
-+ rm -rf conftest*
-+ eval "ac_cv_lib_$ac_lib_var=no"
-+fi
-+rm -f conftest*
-+LIBS="$ac_save_LIBS"
-+
-+fi
-+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-+ echo "$ac_t""yes" 1>&6
-+ LIBAUDIO=-lossaudio
-+else
-+ echo "$ac_t""no" 1>&6
-+fi
-
- echo $ac_n "checking for main in -liostream""... $ac_c" 1>&6
- echo "configure:1539: checking for main in -liostream" >&5
-@@ -1827,6 +1861,10 @@
- $CP src/audio/linux/* src
- echo "$ac_t""freebsd" 1>&6
- ;;
-+ *netbsd*) ac_have_audio_driver=yes
-+ $CP src/audio/linux/* src
-+ echo "$ac_t""linux" 1>&6
-+ ;;
- *solaris*) ac_have_audio_driver=yes
- $CP src/audio/sparc/* src
- echo "$ac_t""sparc" 1>&6
-@@ -2017,6 +2055,7 @@
- s%@QT_LDFLAGS@%$QT_LDFLAGS%g
- s%@MOC@%$MOC%g
- s%@LIBM@%$LIBM%g
-+s%@LIBAUDIO@%$LIBAUDIO%g
- s%@LIBIOS@%$LIBIOS%g
- s%@MAKE@%$MAKE%g
- s%@MAKE2@%$MAKE2%g
diff --git a/audio/xsidplay/patches/patch-ab b/audio/xsidplay/patches/patch-ab
deleted file mode 100644
index ed9d4e6de58..00000000000
--- a/audio/xsidplay/patches/patch-ab
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $
-
---- configure.in.orig Sat Apr 10 10:50:45 1999
-+++ configure.in Sat Apr 10 11:10:30 1999
-@@ -2,7 +2,7 @@
- VERSION=1.3.5
- dnl AC_CONFIG_HEADER(src/config.h)
- AC_CANONICAL_SYSTEM
--AC_PREFIX_DEFAULT(/usr)
-+AC_PREFIX_DEFAULT(${PREFIX})
-
- AC_PROG_CXX
- AC_LANG_CPLUSPLUS
-@@ -23,6 +23,8 @@
-
- AC_CHECK_LIB(m,main,[LIBM=-lm],) dnl For FreeBSD and some others.
- AC_SUBST(LIBM)
-+AC_CHECK_LIB(ossaudio,main,[LIBAUDIO=-lossaudio],) dnl For NetBSD.
-+AC_SUBST(LIBAUDIO)
- AC_CHECK_LIB(iostream,main,[LIBIOS=-liostream],) dnl For old systems.
- AC_SUBST(LIBIOS)
-
-@@ -56,6 +58,10 @@
- *freebsd*) ac_have_audio_driver=yes
- $CP src/audio/linux/* src
- AC_MSG_RESULT(freebsd)
-+ ;;
-+ *netbsd*) ac_have_audio_driver=yes
-+ $CP src/audio/linux/* src
-+ AC_MSG_RESULT(linux)
- ;;
- *solaris*) ac_have_audio_driver=yes
- $CP src/audio/sparc/* src
diff --git a/audio/xsidplay/patches/patch-ac b/audio/xsidplay/patches/patch-ac
deleted file mode 100644
index 49b8d294472..00000000000
--- a/audio/xsidplay/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $
-
---- src/Makefile.in.orig Sat Apr 10 11:42:39 1999
-+++ src/Makefile.in Sat Apr 10 11:42:54 1999
-@@ -29,7 +29,7 @@
- INCLUDES = -I$(SRCDIR) $(QT_INCLUDES) $(X_INCLUDES) $(SIDPLAY_INCLUDES)
- LIBM = @LIBM@
- LIBIOS = @LIBIOS@
--LIBS = @LIBS@ -lqt -lX11 -lsidplay $(LIBM) $(LIBIOS)
-+LIBS = @LIBS@ -lqt -lX11 -lsidplay $(LIBM) $(LIBIOS) @LIBAUDIO@
-
- # Part of Qt.
- MOC = @MOC@
diff --git a/audio/xsidplay/patches/patch-ad b/audio/xsidplay/patches/patch-ad
deleted file mode 100644
index 7327f0e957b..00000000000
--- a/audio/xsidplay/patches/patch-ad
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $
-
---- src/audio/linux/AudioDriver.h.orig Sat Apr 10 12:02:43 1999
-+++ src/audio/linux/AudioDriver.h Sat Apr 10 12:03:29 1999
-@@ -13,8 +13,10 @@
- #include <sidplay/compconf.h>
- #if defined(HAVE_LINUX) && defined(HAVE_LINUX_SOUNDCARD_H)
- #include <linux/soundcard.h>
--#elif defined(HAVE_FREEBSD) && defined((HAVE_MACHINE_SOUNDCARD_H)
-+#elif defined(HAVE_FREEBSD) && defined(HAVE_MACHINE_SOUNDCARD_H)
- #include <machine/soundcard.h>
-+#elif defined(HAVE_NETBSD) && defined(HAVE_SOUNDCARD_H)
-+ #include <soundcard.h>
- #else
- #error Audio driver not supported.
- #endif
diff --git a/audio/xsidplay/patches/patch-ae b/audio/xsidplay/patches/patch-ae
deleted file mode 100644
index a1695c09337..00000000000
--- a/audio/xsidplay/patches/patch-ae
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $
-
---- src/audio/linux/AudioDriver.cpp.orig Sat Apr 10 13:28:53 1999
-+++ src/audio/linux/AudioDriver.cpp Sat Apr 10 13:29:58 1999
-@@ -4,7 +4,11 @@
-
- #include "AudioDriver.h"
-
-+#if defined(HAVE_NETBSD)
-+const char AudioDriver::AUDIODEVICE[] = "/dev/audio";
-+#else
- const char AudioDriver::AUDIODEVICE[] = "/dev/dsp";
-+#endif
-
- AudioDriver::AudioDriver()
- {