head 1.2; access; symbols pkgsrc-2014Q4:1.1.0.64 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.62 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.60 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.58 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.56 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.54 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.52 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.50 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.48 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.46 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.44 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.42 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.40 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.38 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.36 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.34 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.32 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.30 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.28 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.26 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.24 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.22 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.20 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.18 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.16 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.14 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.12 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.10 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.8 pkgsrc-2008Q1:1.1.0.6 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.4 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.2 pkgsrc-2007Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2015.02.13.22.05.28; author snj; state dead; branches; next 1.1; commitid dCes0WupXQqpDT9y; 1.1 date 2007.09.29.11.31.09; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Update nosefart to 2.9. Changes: 2.9-mls - 2013-05-10 GCC now requires that -lm comes after the object name. Trivial change to Makefile to allow compilation. Thanks to Gall for reporting this. 2.8-mls GNU Make 3.82 broke the Makefile so that it no longer made the necessary build directories. Put in a simple hack to make it keep working. 2.7-mls Added 16-bit fixes and -B switch to Linux nosefart by Chris King. Improved gnosefart error message given when nosefart isn't found. 2.6-mls Updated gnosefart to 1.4. 2.5-mls Added some lines to src/machine/nsf.c so that it's possible for programs that use it to play multiple songs at once. (This doesn't affect the behavior of the Linux programs in this package at all. They still just play one thing at a time.) gnosefart updated to 1.3 2.4-mls (13 Sept 2005) Updated nosefart code for gcc-4.0. gnosefart updated to 1.2. @ text @$NetBSD: patch-ac,v 1.1 2007/09/29 11:31:09 rillig Exp $ Doing weird things in C requires weird code. Since gcc 4, casts return an rvalue instead of an lvalue. --- src/sndhrdw/nes_apu.c.orig 2003-05-04 20:39:04.000000000 +0200 +++ src/sndhrdw/nes_apu.c 2007-09-29 13:27:16.000000000 +0200 @@@@ -1035,9 +1035,9 @@@@ void apu_process(void *buffer, int num_s /* signed 16-bit output, unsigned 8-bit */ if (16 == apu->sample_bits) - *((int16 *) buffer)++ = (int16) accum; + *(*((int16 **) &buffer))++ = (int16) accum; else - *((uint8 *) buffer)++ = (accum >> 8) ^ 0x80; + *(*((uint8 **) &buffer))++ = (accum >> 8) ^ 0x80; } /* resync cycle counter */ @ 1.1 log @Fixed gcc 4 error message. @ text @d1 1 a1 1 $NetBSD$ @