Date: Thu, 26 Aug 2004 15:48:41 +0200 From: "Miguel Mendez" <flynn@energyhq.es.eu.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/70989: Fix compilation with gcc 3.4 for audio/xmms-sid Message-ID: <1093528121.0@scienide.energyhq.es.eu.org> Resent-Message-ID: <200408261350.i7QDoNHm004838@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70989 >Category: ports >Synopsis: Fix compilation with gcc 3.4 for audio/xmms-sid >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 26 13:50:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Miguel Mendez >Release: FreeBSD 5.3-BETA1 i386 >Organization: >Environment: System: FreeBSD 5.3-BETA1 #0: Tue Aug 24 18:00:44 CEST 2004 root@scienide.energyhq.es.eu.org:/usr/src/sys/i386/compile/SCIENIDE >Description: A trivial patch is needed for the program to build with gcc 3.4 Builds fine with 2.95 with the patch applied too. >How-To-Repeat: >Fix: --- xmms-sid.diff begins here --- diff -ruN xmms-sid.old/files/patch-src::xmms-sid.cc xmms-sid/files/patch-src::xmms-sid.cc --- xmms-sid.old/files/patch-src::xmms-sid.cc Thu Jan 1 01:00:00 1970 +++ xmms-sid/files/patch-src::xmms-sid.cc Thu Aug 26 15:32:37 2004 @@ -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); --- xmms-sid.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1093528121.0>