summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2015-02-13 22:05:28 +0000
committersnj <snj@pkgsrc.org>2015-02-13 22:05:28 +0000
commitd0e4269fcfc93423518de97d6f1d38d9e073e73b (patch)
treecc98971d50e7cc9fa47e6970b3b1a62747f1c48d /audio
parent048b49135abe700f52baadfb2ae88dc6cb980981 (diff)
downloadpkgsrc-d0e4269fcfc93423518de97d6f1d38d9e073e73b.tar.gz
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.
Diffstat (limited to 'audio')
-rw-r--r--audio/nosefart/Makefile5
-rw-r--r--audio/nosefart/distinfo11
-rw-r--r--audio/nosefart/patches/patch-aa17
-rw-r--r--audio/nosefart/patches/patch-ac19
4 files changed, 20 insertions, 32 deletions
diff --git a/audio/nosefart/Makefile b/audio/nosefart/Makefile
index 56e32270bfa..acb8d9b78bc 100644
--- a/audio/nosefart/Makefile
+++ b/audio/nosefart/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2012/10/02 23:48:02 asau Exp $
+# $NetBSD: Makefile,v 1.15 2015/02/13 22:05:28 snj Exp $
-DISTNAME= nosefart-2.3-mls
+DISTNAME= nosefart-2.9-mls
PKGNAME= ${DISTNAME:S/-mls//}
-PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nosefart/}
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/nosefart/distinfo b/audio/nosefart/distinfo
index 0ff47874213..f254d84a434 100644
--- a/audio/nosefart/distinfo
+++ b/audio/nosefart/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.6 2010/09/26 08:11:22 obache Exp $
+$NetBSD: distinfo,v 1.7 2015/02/13 22:05:28 snj Exp $
-SHA1 (nosefart-2.3-mls.tar.bz2) = ab5755674adefa3f6f63e0772245831e7c0be2f7
-RMD160 (nosefart-2.3-mls.tar.bz2) = 54365aaf542d76f726a9b9ebb0d93a7a219c2e5e
-Size (nosefart-2.3-mls.tar.bz2) = 531605 bytes
-SHA1 (patch-aa) = d700c70addb310d4410820839a221c608dbb7967
+SHA1 (nosefart-2.9-mls.tar.bz2) = b75a6b544cc96390aca6a57e876c52334194ce9b
+RMD160 (nosefart-2.9-mls.tar.bz2) = bd59ee6859834bca11eadcf6e3eacd93fd6b20d8
+Size (nosefart-2.9-mls.tar.bz2) = 558589 bytes
+SHA1 (patch-aa) = 18f8e31aff13c415d683eba1a00fc6758a979fc4
SHA1 (patch-ab) = 325c4038a865ec686a33d440540be16a46445564
-SHA1 (patch-ac) = fc606d92877bc5f83c149b42570249d5f5778219
diff --git a/audio/nosefart/patches/patch-aa b/audio/nosefart/patches/patch-aa
index c340ed683e7..4ed3a9092d0 100644
--- a/audio/nosefart/patches/patch-aa
+++ b/audio/nosefart/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2010/09/26 08:11:22 obache Exp $
+$NetBSD: patch-aa,v 1.4 2015/02/13 22:05:28 snj Exp $
---- Makefile.orig 2004-08-13 00:19:33.000000000 +0000
-+++ Makefile
+--- Makefile.orig 2013-05-10 12:38:51.000000000 -0700
++++ Makefile 2015-02-13 14:01:53.000000000 -0800
@@ -1,9 +1,9 @@
################################
# Configuration
@@ -15,7 +15,16 @@ $NetBSD: patch-aa,v 1.3 2010/09/26 08:11:22 obache Exp $
PREFIX = /usr
WANT_DEBUG=TRUE
-@@ -83,7 +83,7 @@ $(BUILDTOP)/config.h: $(BUILDDIR) Makefi
+@@ -13,7 +13,7 @@ WANT_DEBUG=TRUE
+ # Acting on the configuration
+
+ NAME = nosefart
+-VERSION = 2.8-mls
++VERSION = 2.9-mls
+
+ BUILDTOP = nsfobj
+ BUILDDIR = $(BUILDTOP)/build
+@@ -84,7 +84,7 @@ $(BUILDTOP)/config.h: $(BUILDDIR) Makefi
$(BUILDDIR)/dep: $(BUILDTOP)/config.h
$(CC) $(NSFINFO_CFLAGS) $(CFLAGS) -M $(SOURCES) > $@
diff --git a/audio/nosefart/patches/patch-ac b/audio/nosefart/patches/patch-ac
deleted file mode 100644
index 7c725144a01..00000000000
--- a/audio/nosefart/patches/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-$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 */