summaryrefslogtreecommitdiffstats
path: root/libraries/ptypes/ptypes.patch
diff options
context:
space:
mode:
author Matthew Budd <mjbudd77@yahoo.com>2016-08-22 13:22:48 +0100
committer David Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit91acfe52e6fa8a49ca35dd2ac2d137d5d61bf4a2 (patch)
treee0d5b29f23779f2ab7dd702402d36ba68a3d529c /libraries/ptypes/ptypes.patch
parentff30d05f395e16eef302411f0596e2f454d8a037 (diff)
downloadslackbuilds-91acfe52e6fa8a49ca35dd2ac2d137d5d61bf4a2.tar.gz
slackbuilds-91acfe52e6fa8a49ca35dd2ac2d137d5d61bf4a2.tar.xz
libraries/ptypes: Added (C++ Portable Types Library).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/ptypes/ptypes.patch')
-rw-r--r--libraries/ptypes/ptypes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/ptypes/ptypes.patch b/libraries/ptypes/ptypes.patch
new file mode 100644
index 0000000000..c235ec03d0
--- /dev/null
+++ b/libraries/ptypes/ptypes.patch
@@ -0,0 +1,11 @@
+--- include/ptypes.h.orig 2016-08-20 00:40:10.316942041 -0400
++++ include/ptypes.h 2016-08-20 00:40:17.052941703 -0400
+@@ -42,7 +42,7 @@
+ { return (T*)pexchange((void**)target, (void*)value); }
+
+
+-#if ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ == 4) || defined(__hpux)
++#if ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ >= 4) || defined(__hpux)
+ # define VARIANT_TYPECAST_HACK
+ #endif
+