summaryrefslogtreecommitdiff
path: root/mbone/vic-devel/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-02 18:01:05 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-02 18:01:05 +0000
commit50e35b1db1decb81f18cfe26c8946db334c3bc54 (patch)
treeb86e9e623a0572d39625151236f95014acdf739b /mbone/vic-devel/patches
parent30beca8e2e93b9d39e3fb23a140193f75245fc1f (diff)
downloadpkgsrc-50e35b1db1decb81f18cfe26c8946db334c3bc54.tar.gz
Fix main in C file compiled with C++ compiler.
Diffstat (limited to 'mbone/vic-devel/patches')
-rw-r--r--mbone/vic-devel/patches/patch-tcl_tcl2cpp_tcl2cpp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mbone/vic-devel/patches/patch-tcl_tcl2cpp_tcl2cpp.c b/mbone/vic-devel/patches/patch-tcl_tcl2cpp_tcl2cpp.c
new file mode 100644
index 00000000000..69babd6f918
--- /dev/null
+++ b/mbone/vic-devel/patches/patch-tcl_tcl2cpp_tcl2cpp.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-tcl_tcl2cpp_tcl2cpp.c,v 1.1 2013/03/02 18:01:05 joerg Exp $
+
+--- tcl/tcl2cpp/tcl2cpp.c.orig 2013-03-01 14:55:53.000000000 +0000
++++ tcl/tcl2cpp/tcl2cpp.c
+@@ -38,6 +38,7 @@ void put(int c)
+ printf("%u,%c", c, ((++n & 0xf) == 0) ? '\n' : ' ');
+ }
+
++int
+ main(int argc, char **argv)
+ {
+ int c;