summaryrefslogtreecommitdiff
path: root/devel/coccinelle
diff options
context:
space:
mode:
authorjoerg <joerg>2012-04-22 20:29:47 +0000
committerjoerg <joerg>2012-04-22 20:29:47 +0000
commit3f1ab42b62f4ecbb6b60df7825d097e9518cb106 (patch)
tree9fab2b867190fdaed7ef9c32c84f9c1e1d2bd436 /devel/coccinelle
parente9dc8309612f2ae5f90fbca273d144ae2237b912 (diff)
downloadpkgsrc-3f1ab42b62f4ecbb6b60df7825d097e9518cb106.tar.gz
Fix build with clang.
Diffstat (limited to 'devel/coccinelle')
-rw-r--r--devel/coccinelle/distinfo3
-rw-r--r--devel/coccinelle/patches/patch-pycaml_pycaml__ml.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/coccinelle/distinfo b/devel/coccinelle/distinfo
index fc1e43890a4..fde8b2f9e71 100644
--- a/devel/coccinelle/distinfo
+++ b/devel/coccinelle/distinfo
@@ -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 --git a/devel/coccinelle/patches/patch-pycaml_pycaml__ml.c b/devel/coccinelle/patches/patch-pycaml_pycaml__ml.c
new file mode 100644
index 00000000000..e8e9b3545e9
--- /dev/null
+++ b/devel/coccinelle/patches/patch-pycaml_pycaml__ml.c
@@ -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 ) {