forked from pool/coccinelle
This commit is contained in:
parent
4cba30c5e1
commit
e440213047
21
cocci-cast.diff
Normal file
21
cocci-cast.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Work around compiler warning
|
||||||
|
|
||||||
|
pycaml_ml.c: In function 'pymodule_initmodule':
|
||||||
|
pycaml_ml.c:1441: warning: assignment makes pointer from integer without a cast
|
||||||
|
---
|
||||||
|
pycaml/pycaml_ml.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: coccinelle-0.2.2/pycaml/pycaml_ml.c
|
||||||
|
===================================================================
|
||||||
|
--- coccinelle-0.2.2.orig/pycaml/pycaml_ml.c
|
||||||
|
+++ coccinelle-0.2.2/pycaml/pycaml_ml.c
|
||||||
|
@@ -1438,7 +1438,7 @@ value pymodule_initmodule( value name, v
|
||||||
|
for( i = 0; i < Wosize_val(funclist); i++ ) {
|
||||||
|
item = Field(funclist,i);
|
||||||
|
methods[i].ml_name = String_val(Field(item,0));
|
||||||
|
- methods[i].ml_meth = pywrap_closure(Field(item,1));
|
||||||
|
+ methods[i].ml_meth = (void *)(long)pywrap_closure(Field(item,1));
|
||||||
|
methods[i].ml_flags = Int_val(Field(item,2));
|
||||||
|
methods[i].ml_doc = String_val(Field(item,3));
|
||||||
|
}
|
17
cocci-pythondetect.diff
Normal file
17
cocci-pythondetect.diff
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
configure | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: coccinelle-0.2.5-rc2/configure
|
||||||
|
===================================================================
|
||||||
|
--- coccinelle-0.2.5-rc2.orig/configure
|
||||||
|
+++ coccinelle-0.2.5-rc2/configure
|
||||||
|
@@ -198,7 +198,7 @@ We need 3.XX",
|
||||||
|
if($python) {
|
||||||
|
if(check_config(
|
||||||
|
"python --version 2>&1 |",
|
||||||
|
- "Python 2\.[567]\..*",
|
||||||
|
+ qr/Python 2\.[567]\b/,
|
||||||
|
"python is present",
|
||||||
|
"python is missing or is not a good version."
|
||||||
|
))
|
3
coccinelle-0.2.5-rc2.tar.xz
Normal file
3
coccinelle-0.2.5-rc2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9d036b24cac67199126e5f25cd8f9466351d09cf6620926a32af16495f0c7905
|
||||||
|
size 1538224
|
Loading…
Reference in New Issue
Block a user