From df4c5f7dbb5b4ca6792529554f592edd03038106 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Tue, 22 Dec 2020 18:17:34 -0500 Subject: [PATCH] Update Irrlicht --- build/build-irrlicht.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/build/build-irrlicht.sh b/build/build-irrlicht.sh index b22dc92..d1539f1 100755 --- a/build/build-irrlicht.sh +++ b/build/build-irrlicht.sh @@ -1,6 +1,6 @@ #!/bin/sh -IRRLICHT_VERSION='6172' +IRRLICHT_VERSION='6177' set -e @@ -8,19 +8,16 @@ svn export -r "${IRRLICHT_VERSION}" svn://svn.code.sf.net/p/irrlicht/code/branch cd irrlicht dos2unix source/Irrlicht/CIrrDeviceLinux.cpp -dos2unix source/Irrlicht/Makefile dos2unix include/IrrCompileConfig.h -dos2unix source/Irrlicht/COGLESCommon.h -wget -O - https://sourceforge.net/p/irrlicht/patches/_discuss/thread/97431334ce/5686/30b0/attachment/multitouch-and-phosh-fix-and-libpng-fix.patch | patch -p1 -wget -O - https://sourceforge.net/p/irrlicht/patches/_discuss/thread/97431334ce/5686/30b0/ad44/attachment/fix-gles-header.patch | patch -p1 +wget -O - https://sourceforge.net/p/irrlicht/patches/_discuss/thread/97431334ce/37b2/f348/0599/attachment/multitouch.patch | patch -p1 disable_feature() { - sed -i "s/^#define $1.*$//g" include/IrrCompileConfig.h + sed -i "s/^#define $1.*\$//g" include/IrrCompileConfig.h } enable_feature() { - sed -i "s/^\/\/#define $1.*$/#define $1/g" include/IrrCompileConfig.h - sed -i "s/^#define NO$1.*$//g" include/IrrCompileConfig.h + sed -i "s/^#define NO$1.*\$//g" include/IrrCompileConfig.h + sed -i "s/^#ifdef NO$1\$/#ifndef $1\n#define $1\n#endif\n#ifdef NO$1/g" include/IrrCompileConfig.h } disable_feature _IRR_COMPILE_WITH_OPENGL_