]> TLD Linux GIT Repositories - packages/poldek.git/blobdiff - poldek-no_local_stdint.patch
- workaround conflicting types with glibc 2.25 by removing use of local_stdint.h
[packages/poldek.git] / poldek-no_local_stdint.patch
diff --git a/poldek-no_local_stdint.patch b/poldek-no_local_stdint.patch
new file mode 100644 (file)
index 0000000..c8955f6
--- /dev/null
@@ -0,0 +1,30 @@
+diff -ur poldek-0.32.2.orig/python/poldekmod.i poldek-0.32.2/python/poldekmod.i
+--- poldek-0.32.2.orig/python/poldekmod.i      2016-01-30 14:05:57.000000000 +0000
++++ poldek-0.32.2/python/poldekmod.i   2017-03-31 06:38:56.158927742 +0000
+@@ -1,7 +1,6 @@
+ %module poldekmod
+ %{
+-#include "local_stdint.h"
+ #include "poldek.h"
+ #include "trurl/narray.h"
+ #include "trurl/nhash.h"
+@@ -33,7 +32,6 @@
+ %}
+ %include exception.i
+-%include "local_stdint.h"
+ %include "trurl/narray.h"
+ %include "capreq.h"
+ %include "pkg.h"
+diff -ur poldek-0.32.2.orig/python/wrap_poldekmod.c poldek-0.32.2/python/wrap_poldekmod.c
+--- poldek-0.32.2.orig/python/wrap_poldekmod.c 2016-07-18 18:00:08.000000000 +0000
++++ poldek-0.32.2/python/wrap_poldekmod.c      2017-03-31 06:39:00.925928082 +0000
+@@ -3065,7 +3065,6 @@
+ #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 
+-#include "local_stdint.h"
+ #include "poldek.h"
+ #include "trurl/narray.h"
+ #include "trurl/nhash.h"