summaryrefslogtreecommitdiff
path: root/audio/cam
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-08-28 20:50:04 +0000
committerdholland <dholland@pkgsrc.org>2011-08-28 20:50:04 +0000
commit806d3ea34dab1830d5a0c4c980c7682d3a132756 (patch)
tree316eb96432ee0b832e3c8a03dab0bbf0a3097dd9 /audio/cam
parentea3f06893ead2934beaa66733c786eb6123a6aa0 (diff)
downloadpkgsrc-806d3ea34dab1830d5a0c4c980c7682d3a132756.tar.gz
void main
Diffstat (limited to 'audio/cam')
-rw-r--r--audio/cam/distinfo3
-rw-r--r--audio/cam/patches/patch-cam_c26
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() */
+