diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-07-08 08:48:30 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:50:35 -0500 |
commit | 48a059db23c2baaf0f0121f017d08d7f4ec1f9ab (patch) | |
tree | e5fdaaba15c1846047a29643619418345530d052 /graphics/opencollada | |
parent | b85ee8651ea5ecb2a451a74e48d9d18a4aa9f728 (diff) |
graphics/opencollada: Add a patch for the newer pcre.
Thanks to RadicalDreamer
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/opencollada')
-rw-r--r-- | graphics/opencollada/opencollada.SlackBuild | 3 | ||||
-rw-r--r-- | graphics/opencollada/pcre.patch | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/graphics/opencollada/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild index 3bd2b9f561b5..1ccfdc1d02d4 100644 --- a/graphics/opencollada/opencollada.SlackBuild +++ b/graphics/opencollada/opencollada.SlackBuild @@ -70,6 +70,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://github.com/KhronosGroup/OpenCOLLADA/issues/570 +patch -p1 < $CWD/pcre.patch + mkdir -p build cd build cmake ../ \ diff --git a/graphics/opencollada/pcre.patch b/graphics/opencollada/pcre.patch new file mode 100644 index 000000000000..fe8c01a5b069 --- /dev/null +++ b/graphics/opencollada/pcre.patch @@ -0,0 +1,13 @@ +diff -Naur OpenCOLLADA-1.6.62.orig/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h +--- OpenCOLLADA-1.6.62.orig/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h 2018-01-13 01:23:52.000000000 +0100 ++++ OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h 2018-07-08 08:40:38.764948000 +0200 +@@ -13,8 +13,7 @@ +
+ #include "COLLADABUPrerequisites.h"
+
+-struct real_pcre; +-typedef struct real_pcre pcre; ++#include "pcre.h"
+
+
+ namespace COLLADABU
|