aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/libplist/files')
-rw-r--r--app-pda/libplist/files/libplist-1.4-gcc46.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-pda/libplist/files/libplist-1.4-gcc46.patch b/app-pda/libplist/files/libplist-1.4-gcc46.patch
new file mode 100644
index 0000000..54aef1a
--- /dev/null
+++ b/app-pda/libplist/files/libplist-1.4-gcc46.patch
@@ -0,0 +1,12 @@
+Fix building with GCC 4.6 and above wrt http://bugs.gentoo.org/363109
+
+--- swig/plist.i
++++ swig/plist.i
+@@ -24,6 +24,7 @@
+ #if SWIGPYTHON
+ //for datetime in python
+ %{
++#include <cstddef>
+ #include <ctime>
+ #include <datetime.h>
+ %}