diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2016-10-16 17:10:49 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2016-10-16 17:10:49 +0000 |
commit | af3f8987e11c8f2640755e49843c29b5576e138c (patch) | |
tree | ace8647d681a361c7c89848a13a29a72a4503efb /games/exult | |
parent | 3c6c070e8b6777309854907c0f4aa11dfac1dea0 (diff) | |
download | pkgsrc-af3f8987e11c8f2640755e49843c29b5576e138c.tar.gz |
Use midiplay instead of playmidi on NetBSD. Bump revision.
PR pkg/28924, from 2005.
Diffstat (limited to 'games/exult')
-rw-r--r-- | games/exult/Makefile | 4 | ||||
-rw-r--r-- | games/exult/distinfo | 3 | ||||
-rw-r--r-- | games/exult/patches/patch-audio_midi__drivers_forked__player.cc | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/games/exult/Makefile b/games/exult/Makefile index b262782a903..463d8ead874 100644 --- a/games/exult/Makefile +++ b/games/exult/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2016/09/16 22:36:21 wiedi Exp $ +# $NetBSD: Makefile,v 1.23 2016/10/16 17:10:49 bsiegert Exp $ DISTNAME= exult-1.4.9rc1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=exult/exult-all-versions/} diff --git a/games/exult/distinfo b/games/exult/distinfo index 8202d30d19b..8977297dac5 100644 --- a/games/exult/distinfo +++ b/games/exult/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.11 2015/11/03 20:56:48 agc Exp $ +$NetBSD: distinfo,v 1.12 2016/10/16 17:10:49 bsiegert Exp $ SHA1 (exult-1.4.9rc1.tar.gz) = 259f778d6b8b5e9c9466e2f4967b6352435b6792 RMD160 (exult-1.4.9rc1.tar.gz) = 8c6fce2bc17ff59709c5827c5dd70f2e2a473914 SHA512 (exult-1.4.9rc1.tar.gz) = 0da559ce574a07eba597b44e6ed6ddd72d3db45dfa8f546ef6668277ef178700f4b92bce43b87ad238815eaf64d5ef0fcf6c09b31477e52ea69edce1aa05e302 Size (exult-1.4.9rc1.tar.gz) = 5452640 bytes +SHA1 (patch-audio_midi__drivers_forked__player.cc) = 058c77900828cc75643237e5ddbc1d21e67a2337 SHA1 (patch-configure) = 0812526182ffa1746c45fd5a005ca8b10fd50093 SHA1 (patch-imagewin_manip.h) = d9a90c7fbe046a4079618aeda4c428ef1672525e SHA1 (patch-istring.h) = 18e8b49932f7317e6c978c585e1dfe855ac05a51 diff --git a/games/exult/patches/patch-audio_midi__drivers_forked__player.cc b/games/exult/patches/patch-audio_midi__drivers_forked__player.cc new file mode 100644 index 00000000000..e3fb6cb864d --- /dev/null +++ b/games/exult/patches/patch-audio_midi__drivers_forked__player.cc @@ -0,0 +1,16 @@ +$NetBSD: patch-audio_midi__drivers_forked__player.cc,v 1.1 2016/10/16 17:10:49 bsiegert Exp $ + +--- audio/midi_drivers/forked_player.cc.orig 2009-04-21 03:04:37.000000000 +0000 ++++ audio/midi_drivers/forked_player.cc +@@ -41,7 +41,11 @@ const MidiDriver::MidiDriverDesc forked_ + // NB: This function doesn't return unless execlp fails! + static void playFJmidifile(const char *name) + { ++#ifdef __NetBSD__ ++ execlp("midiplay","midiplay","-v","-v",name,(char *)0); ++#else + execlp("playmidi","playmidi","-v","-v","-e",name,(char *)0); ++#endif + } + + forked_player::forked_player() : repeat_(false), forked_job(-1) |