summaryrefslogtreecommitdiffstats
path: root/src/devil.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-07-26 03:37:02 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-07-26 03:37:02 (GMT)
commite2eec03d6c14e706d48376cf0b9e517b3bb14f15 (patch)
tree301b054855301cd28ad28522b0cfaff5221484c0 /src/devil.mk
parent398e316829e7bbf267b0652395f364f7b70b2362 (diff)
downloadmxe-e2eec03d6c14e706d48376cf0b9e517b3bb14f15.zip
mxe-e2eec03d6c14e706d48376cf0b9e517b3bb14f15.tar.gz
mxe-e2eec03d6c14e706d48376cf0b9e517b3bb14f15.tar.bz2
devil: use $(SED) instead of patch for EOL issues
Can't figure out why the other two *.rc files patch correctly and this one doesn't. Patch was created with `make export-patch-` with git config `autocrlf = input`. Devil has it's own `.gitattributes` file but nothing seems to work. fixes #1856
Diffstat (limited to 'src/devil.mk')
-rw-r--r--src/devil.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devil.mk b/src/devil.mk
index 008b5a0..5bde494 100644
--- a/src/devil.mk
+++ b/src/devil.mk
@@ -10,6 +10,8 @@ $(PKG)_GH_CONF := DentonW/DevIL/master
$(PKG)_DEPS := gcc freeglut jasper jpeg lcms libmng libpng openexr sdl tiff zlib
define $(PKG)_BUILD
+ # for some reason, patching fails with EOL issues
+ $(SED) -i 's,resources\\\\,./resources/,' '$(SOURCE_DIR)/DevIL/src-IL/msvc/IL.rc'
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)/DevIL' \
-DIL_TESTS=OFF \
-DCMAKE_CXX_FLAGS="-D__STDC_LIMIT_MACROS"