summaryrefslogtreecommitdiff
path: root/audio/maplay
diff options
context:
space:
mode:
authordholland <dholland>2011-08-29 00:04:07 +0000
committerdholland <dholland>2011-08-29 00:04:07 +0000
commitc6ccf958861a6d8a30b942eed4691f720ce2aa7b (patch)
treed4c467224545119a26b65172f070ffb29cca339f /audio/maplay
parent056e4b7a2e9df54d9a9edb754739db3ad4829230 (diff)
downloadpkgsrc-c6ccf958861a6d8a30b942eed4691f720ce2aa7b.tar.gz
main() needs a return type in clang-land.
Diffstat (limited to 'audio/maplay')
-rw-r--r--audio/maplay/distinfo4
-rw-r--r--audio/maplay/patches/patch-ah16
2 files changed, 14 insertions, 6 deletions
diff --git a/audio/maplay/distinfo b/audio/maplay/distinfo
index 77c4754a015..0cf2d0d49ea 100644
--- a/audio/maplay/distinfo
+++ b/audio/maplay/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2009/07/07 15:25:39 joerg Exp $
+$NetBSD: distinfo,v 1.8 2011/08/29 00:04:07 dholland Exp $
SHA1 (maplay1_2.tar) = faeac51cfbf011956a17721e2077d0ed11f8d8dd
RMD160 (maplay1_2.tar) = bc016d4cc8f356d9c2c0a90d4afde5e67c45ba14
@@ -10,7 +10,7 @@ SHA1 (patch-ad) = 389c418dac740b6959b441439cc4660ed28daee0
SHA1 (patch-ae) = 4579d1dc9dbae73c0d33f0fc5fe038733640bcef
SHA1 (patch-af) = 843b8fad21e2feeee07feb3292a34456f88c639f
SHA1 (patch-ag) = 582bec6631acd1478dacc19feba60e4bed9062ab
-SHA1 (patch-ah) = fa050751a8d88ad247c024ad20a575a03e67e298
+SHA1 (patch-ah) = 8694b317538758c2eb06b6a815b707c1ceaa250a
SHA1 (patch-ai) = 2d7cc43f33db4f60549e2be27f388b92c7b0b4a8
SHA1 (patch-aj) = 9b44b0e3b85adfe24419d8fa4dac9253fbf9c36d
SHA1 (patch-ak) = 3edf1fb29f243eb5e0507f57fee2e200e9214045
diff --git a/audio/maplay/patches/patch-ah b/audio/maplay/patches/patch-ah
index 8dc89c3ca30..e55a6d2d529 100644
--- a/audio/maplay/patches/patch-ah
+++ b/audio/maplay/patches/patch-ah
@@ -1,6 +1,10 @@
-$NetBSD: patch-ah,v 1.2 2004/01/18 13:59:25 mrauch Exp $
+$NetBSD: patch-ah,v 1.3 2011/08/29 00:04:07 dholland Exp $
---- maplay.cc.orig 1994-06-23 14:14:36.000000000 +0200
+- avoid assorted name conflicts
+- support NetBSD and FreeBSD
+- main() needs a return type
+
+--- maplay.cc.orig 1994-06-23 12:14:36.000000000 +0000
+++ maplay.cc
@@ -54,14 +54,14 @@
@@ -22,8 +26,12 @@ $NetBSD: patch-ah,v 1.2 2004/01/18 13:59:25 mrauch Exp $
static real scalefactor;
// data extracted from header of first frame:
-@@ -93,7 +93,7 @@ static void Exit (int returncode)
- main (int argc, char *argv[])
+@@ -90,10 +90,10 @@ static void Exit (int returncode)
+ }
+
+
+-main (int argc, char *argv[])
++int main (int argc, char *argv[])
{
int i;
- bool read_ready = False, write_ready = False;