diff options
author | dholland <dholland@pkgsrc.org> | 2011-08-28 20:50:04 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-08-28 20:50:04 +0000 |
commit | 70b9b84ebfa99123659b65923b8d1f1fc426dac8 (patch) | |
tree | 316eb96432ee0b832e3c8a03dab0bbf0a3097dd9 /audio | |
parent | f272a6584cac2a5567be74dafed47b2a9a33d5b0 (diff) | |
download | pkgsrc-70b9b84ebfa99123659b65923b8d1f1fc426dac8.tar.gz |
void main
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cam/distinfo | 3 | ||||
-rw-r--r-- | audio/cam/patches/patch-cam_c | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/audio/cam/distinfo b/audio/cam/distinfo index 2ddfdabd163..0d6550fca83 100644 --- a/audio/cam/distinfo +++ b/audio/cam/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2008/06/20 01:09:05 joerg Exp $ +$NetBSD: distinfo,v 1.7 2011/08/28 21:13:14 dholland Exp $ SHA1 (cam-1.02.tgz) = 3bdd11137cfe637bc3c0a77ab1bdbe3df89cbfa3 RMD160 (cam-1.02.tgz) = acd2074d3c8caa6892600f3ff2934e392bae5efd @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 6537cf1cecef47ab99b52d3d0942ca7ea6b435e4 SHA1 (patch-ac) = 2fda1457e7304b9589ca7147b347c6a3b1d2b496 SHA1 (patch-ad) = e9e398143aa7f4d7c06f78fff8279a49bbf21f81 SHA1 (patch-ae) = 570f663a3288d53ae7365d088edefc4146ddba74 +SHA1 (patch-cam_c) = 873c692bcbcf87a756b83e039bed559d5c2caa6e diff --git a/audio/cam/patches/patch-cam_c b/audio/cam/patches/patch-cam_c new file mode 100644 index 00000000000..e6e83d77011 --- /dev/null +++ b/audio/cam/patches/patch-cam_c @@ -0,0 +1,26 @@ +$NetBSD: patch-cam_c,v 1.1 2011/08/28 21:13:14 dholland Exp $ + +- fix void main. + +--- cam.c~ 1996-04-09 18:17:57.000000000 +0000 ++++ cam.c +@@ -26,7 +26,7 @@ + + #include "cam.h" + +-void main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + if (argc == 1) + { +@@ -37,9 +37,9 @@ void main(int argc, char *argv[]) + set_screen(); + ctrl_sliders(); + finish(0); +- exit(0); + } else + set_sound(argc, argv); ++ exit(0); + } + /* End of main() */ + |