Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/llvmpy/files: llvmpy-0.12.2-return-type.patch
Date: Mon, 10 Feb 2014 16:59:16
Message-Id: 20140210165912.E69B42004B@flycatcher.gentoo.org
1 bicatali 14/02/10 16:59:12
2
3 Added: llvmpy-0.12.2-return-type.patch
4 Log:
5 Initial import
6
7 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
8
9 Revision Changes Path
10 1.1 dev-python/llvmpy/files/llvmpy-0.12.2-return-type.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/llvmpy/files/llvmpy-0.12.2-return-type.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/llvmpy/files/llvmpy-0.12.2-return-type.patch?rev=1.1&content-type=text/plain
14
15 Index: llvmpy-0.12.2-return-type.patch
16 ===================================================================
17 gentoo qa: type conversion on return triggered by gcc warnings
18 bicatali - feb 2014
19 --- llvmpy/include/llvm_binding/conversion.h.orig 2014-02-10 08:45:29.516304878 -0800
20 +++ llvmpy/include/llvm_binding/conversion.h 2014-02-10 08:45:58.190474249 -0800
21 @@ -101,7 +101,7 @@
22 val = PyInt_AsLong(intobj);
23 }
24 if (PyErr_Occurred()){
25 - return NULL;
26 + return 1;
27 }
28 // success
29 return 1;