diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-22 20:29:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-22 20:29:47 +0000 |
commit | f5193b39a25d042814323bcc3f7248cc8018a2c5 (patch) | |
tree | 9fab2b867190fdaed7ef9c32c84f9c1e1d2bd436 /devel | |
parent | b8b0b1c2b255e8f001f5ed24fc70020210d8a156 (diff) | |
download | pkgsrc-f5193b39a25d042814323bcc3f7248cc8018a2c5.tar.gz |
Fix build with clang.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/coccinelle/distinfo | 3 | ||||
-rw-r--r-- | devel/coccinelle/patches/patch-pycaml_pycaml__ml.c | 13 |
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 ) { |