uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/pyfribidi.c b/pyfribidi.c
|
||||
index 9a0120d..238134a 100644
|
||||
--- a/pyfribidi.c
|
||||
+++ b/pyfribidi.c
|
||||
@@ -148,10 +148,11 @@ init_pyfribidi (void)
|
||||
{
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
PyObject *module = PyModule_Create (&pyfribidi_moduledef);
|
||||
+ if (module == NULL) return NULL;
|
||||
#else
|
||||
PyObject *module = Py_InitModule ("_pyfribidi", PyfribidiMethods);
|
||||
+ if (module == NULL) return;
|
||||
#endif
|
||||
- if (module == NULL) return NULL;
|
||||
|
||||
PyModule_AddIntConstant (module, "RTL", (long) FRIBIDI_TYPE_RTL);
|
||||
PyModule_AddIntConstant (module, "LTR", (long) FRIBIDI_TYPE_LTR);
|
||||
Loading…
Add table
Add a link
Reference in a new issue