aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-27 21:52:59 +0800
committerkrion <krion@FreeBSD.org>2004-08-27 21:52:59 +0800
commitb6957ad9ac8fe57ee587bf9da0e4a83b39e9ba09 (patch)
tree8209e9c631b26a71b6cd2837561e139a891aae2e
parenta81469459f2600707b411858dea7305865f0cc3e (diff)
downloadfreebsd-ports-gnome-b6957ad9ac8fe57ee587bf9da0e4a83b39e9ba09.tar.gz
freebsd-ports-gnome-b6957ad9ac8fe57ee587bf9da0e4a83b39e9ba09.tar.zst
freebsd-ports-gnome-b6957ad9ac8fe57ee587bf9da0e4a83b39e9ba09.zip
Fix build with gcc-3.4
PR: ports/70989 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>
-rw-r--r--audio/xmms-sid/files/patch-src::xmms-sid.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/xmms-sid/files/patch-src::xmms-sid.cc b/audio/xmms-sid/files/patch-src::xmms-sid.cc
new file mode 100644
index 000000000000..cb54cc95ef68
--- /dev/null
+++ b/audio/xmms-sid/files/patch-src::xmms-sid.cc
@@ -0,0 +1,11 @@
+--- src/xmms-sid.cc.orig Thu Aug 26 15:18:41 2004
++++ src/xmms-sid.cc Thu Aug 26 15:22:22 2004
+@@ -196,7 +196,7 @@
+ int fxlen, tn;
+ struct sidTuneInfo sidInf;
+ char *name;
+- enum AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_NE : FMT_U8;
++ AFormat fmt = (xs_emuConf.bitsPerSample == 16) ? FMT_S16_NE : FMT_U8;
+ gint chn = xs_emuConf.channels;
+
+ tune->getInfo(sidInf);