summaryrefslogtreecommitdiffstats
path: root/src/devil-1-fixes.patch
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-1-fixes.patch
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-1-fixes.patch')
-rw-r--r--src/devil-1-fixes.patch16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/devil-1-fixes.patch b/src/devil-1-fixes.patch
index 17b7263..d9e9764 100644
--- a/src/devil-1-fixes.patch
+++ b/src/devil-1-fixes.patch
@@ -57,20 +57,10 @@ From: Tony Theodore <tonyt@logyst.com>
Date: Thu, 20 Jul 2017 16:34:51 +1000
Subject: [PATCH] fix resource paths
+DevIL/src-IL/msvc/IL.rc has wierd EOL issues and patches don't
+apply - use $(SED) in build rule instead
+
-diff --git a/DevIL/src-IL/msvc/IL.rc b/DevIL/src-IL/msvc/IL.rc
-index 1111111..2222222 100644
---- a/DevIL/src-IL/msvc/IL.rc
-+++ b/DevIL/src-IL/msvc/IL.rc
-@@ -69,7 +69,7 @@ END
-
- // Icon with lowest ID value placed first to ensure application icon
- // remains consistent on all systems.
--IDI_ICON1 ICON "resources\\IL Logo.ico"
-+IDI_ICON1 ICON "./resources/IL Logo.ico"
-
- #ifdef APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
diff --git a/DevIL/src-ILU/msvc/ILU.rc b/DevIL/src-ILU/msvc/ILU.rc
index 1111111..2222222 100644
--- a/DevIL/src-ILU/msvc/ILU.rc