From 43edb09ed00861e990b0ab06093ec32ebe6e5bb4 Mon Sep 17 00:00:00 2001 From: mycroft Date: Tue, 25 Dec 2001 00:21:57 +0000 Subject: Make this work on big-endian systems. --- audio/xmms-sid/distinfo | 3 ++- audio/xmms-sid/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 audio/xmms-sid/patches/patch-aa (limited to 'audio') diff --git a/audio/xmms-sid/distinfo b/audio/xmms-sid/distinfo index 46003a214e5..c10a2fedb89 100644 --- a/audio/xmms-sid/distinfo +++ b/audio/xmms-sid/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1 2001/12/24 15:20:03 mycroft Exp $ +$NetBSD: distinfo,v 1.2 2001/12/25 00:21:57 mycroft Exp $ SHA1 (xmms-sid-0.7.2.tar.gz) = 23a039c8bae276d3d1f402988dc644e15c37cc61 Size (xmms-sid-0.7.2.tar.gz) = 223161 bytes +SHA1 (patch-aa) = 321bb290d9aaefe8a956bfdd6161ae5e09231e30 diff --git a/audio/xmms-sid/patches/patch-aa b/audio/xmms-sid/patches/patch-aa new file mode 100644 index 00000000000..f9a13574a04 --- /dev/null +++ b/audio/xmms-sid/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2001/12/25 00:21:58 mycroft Exp $ + +--- src/xmms-sid.cc.orig Sun Nov 18 12:48:34 2001 ++++ src/xmms-sid.cc Tue Dec 25 00:17:46 2001 +@@ -190,7 +190,7 @@ + int fxlen, tn; + struct sidTuneInfo sidInf; + char *name; +- enum AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_LE : FMT_U8; ++ enum AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_NE : FMT_U8; + gint chn = xs_emuConf.channels; + + tune->getInfo(sidInf); -- cgit v1.2.3