pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/coccinelle Fix build with clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23659bdd4893
branches:  trunk
changeset: 602925:23659bdd4893
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Apr 22 20:29:47 2012 +0000

description:
Fix build with clang.

diffstat:

 devel/coccinelle/distinfo                          |   3 ++-
 devel/coccinelle/patches/patch-pycaml_pycaml__ml.c |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r c35af2663dfd -r 23659bdd4893 devel/coccinelle/distinfo
--- a/devel/coccinelle/distinfo Sun Apr 22 19:33:17 2012 +0000
+++ b/devel/coccinelle/distinfo Sun Apr 22 20:29:47 2012 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2011/10/14 09:06:35 obache Exp $
+$NetBSD: distinfo,v 1.9 2012/04/22 20:29:47 joerg Exp $
 
 SHA1 (coccinelle-0.2.5.tgz) = fa9aed17ee23a253cf01a8571b61d1320082751b
 RMD160 (coccinelle-0.2.5.tgz) = a0811ba0a2c50b70fc52155cc062af6ba383d0d2
 Size (coccinelle-0.2.5.tgz) = 2295665 bytes
+SHA1 (patch-pycaml_pycaml__ml.c) = b7148ec22a8148ae6583ab1c1a7e8e44f69502da
diff -r c35af2663dfd -r 23659bdd4893 devel/coccinelle/patches/patch-pycaml_pycaml__ml.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/coccinelle/patches/patch-pycaml_pycaml__ml.c        Sun Apr 22 20:29:47 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-pycaml_pycaml__ml.c,v 1.1 2012/04/22 20:29:47 joerg Exp $
+
+--- pycaml/pycaml_ml.c.orig    2012-04-20 15:37:19.000000000 +0000
++++ pycaml/pycaml_ml.c
+@@ -1468,7 +1468,7 @@ value pycaml_setargs(value argv) {
+ 
+   PySys_SetArgv(1, cargv);
+ 
+-  CAMLreturn0; 
++  CAMLreturn(Val_unit);
+ }
+ 
+ value pytrue( value unit ) {



Home | Main Index | Thread Index | Old Index