graphics/opencollada: Add a patch for the newer pcre.
Thanks to RadicalDreamer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
b85ee8651e
commit
48a059db23
|
@ -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 ../ \
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue