summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2001-08-27 20:36:56 +0000
committeris <is@pkgsrc.org>2001-08-27 20:36:56 +0000
commit50be31bda2b200b7da18561cee22a3ae0bd2d08b (patch)
tree7a3ab542a47835ad30dbd981cff927d4f8d8c26b
parent537e65cf7295d56ea419f2b4f41145d17b63fb9e (diff)
downloadpkgsrc-50be31bda2b200b7da18561cee22a3ae0bd2d08b.tar.gz
Play audio right on big endian machines.
-rw-r--r--graphics/xanim/Makefile4
-rw-r--r--graphics/xanim/distinfo3
-rw-r--r--graphics/xanim/patches/patch-ae15
3 files changed, 19 insertions, 3 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index c5618c3f6be..1ed089972d2 100644
--- a/graphics/xanim/Makefile
+++ b/graphics/xanim/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2001/04/21 09:36:03 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2001/08/27 20:36:56 is Exp $
DISTNAME= xanim2801
-PKGNAME= xanim-2.80.1
+PKGNAME= xanim-2.80.1nb1
CATEGORIES= graphics x11
MASTER_SITES= ftp://xanim.va.pubnix.com/\
ftp://xanim.va.pubnix.com/modules/ \
diff --git a/graphics/xanim/distinfo b/graphics/xanim/distinfo
index 3b54792189f..8a7fe670fce 100644
--- a/graphics/xanim/distinfo
+++ b/graphics/xanim/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 09:54:28 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/08/27 20:36:56 is Exp $
SHA1 (xanim2801.tar.gz) = 1966880880c3779d02199fbcd1acb771bc57f754
Size (xanim2801.tar.gz) = 441250 bytes
@@ -27,3 +27,4 @@ Size (xa2.0_iv32_sparcCOFF.o.Z) = 48525 bytes
SHA1 (xa1.0_cyuv_sparcAOUT.o.Z) = c31c60ac3a519bbdce9e4d9652f274b1194e880a
Size (xa1.0_cyuv_sparcAOUT.o.Z) = 1048 bytes
SHA1 (patch-ab) = 66ad6952534b85cc3a483ba6e50a568caee9baef
+SHA1 (patch-ae) = 230f52e95997ba72d36baa8f4d5cd5a5e5500f9a
diff --git a/graphics/xanim/patches/patch-ae b/graphics/xanim/patches/patch-ae
new file mode 100644
index 00000000000..080076a2869
--- /dev/null
+++ b/graphics/xanim/patches/patch-ae
@@ -0,0 +1,15 @@
+--- xa_audio.c.original Fri Aug 24 17:33:57 2001
++++ xa_audio.c Fri Aug 24 17:35:14 2001
+@@ -4665,10 +4665,10 @@
+
+ a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL;
+ ioctl(devAudio, AUDIO_SETINFO, &a_info);
+-#ifdef AUDIO_ENCODING_SLINEAR
++#ifdef AUDIO_ENCODING_SLINEAR_LE
+ /* Use new encoding names */
+ AUDIO_INITINFO(&a_info);
+- a_info.play.encoding = AUDIO_ENCODING_SLINEAR;
++ a_info.play.encoding = AUDIO_ENCODING_SLINEAR_LE;
+ a_info.play.precision = 16;
+ if ( ioctl(devAudio, AUDIO_SETINFO, &a_info) < 0)
+ {