aboutsummaryrefslogtreecommitdiff
path: root/ports/devil/0002_fix-missing-mfc-includes.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-21 22:50:54 -0800
committerGitHub <noreply@github.com>2017-11-21 22:50:54 -0800
commit27a523e61cd84a7b44bfe51d1661c97b1c4447b7 (patch)
treeeb5e0178cb62891ccfe2cb60fc3e3356fe0b94d3 /ports/devil/0002_fix-missing-mfc-includes.patch
parentf7c10858f71f7e03b8745cf561108b3e766e4e84 (diff)
parent46288a5a6df363bcb795ccc49f78adab560e41e5 (diff)
downloadvcpkg-27a523e61cd84a7b44bfe51d1661c97b1c4447b7.tar.gz
vcpkg-27a523e61cd84a7b44bfe51d1661c97b1c4447b7.zip
Merge pull request #2082 from Lyrex/devil-port
Add DevIL port
Diffstat (limited to 'ports/devil/0002_fix-missing-mfc-includes.patch')
-rw-r--r--ports/devil/0002_fix-missing-mfc-includes.patch102
1 files changed, 102 insertions, 0 deletions
diff --git a/ports/devil/0002_fix-missing-mfc-includes.patch b/ports/devil/0002_fix-missing-mfc-includes.patch
new file mode 100644
index 000000000..755d0d867
--- /dev/null
+++ b/ports/devil/0002_fix-missing-mfc-includes.patch
@@ -0,0 +1,102 @@
+diff --git a/src-IL/msvc/IL Unicode.rc b/src-IL/msvc/IL Unicode.rc
+index 346758f..298a207 100644
+--- a/src-IL/msvc/IL Unicode.rc
++++ b/src-IL/msvc/IL Unicode.rc
+@@ -7,7 +7,11 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
++
+ /////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
+
+diff --git a/src-IL/msvc/IL.rc b/src-IL/msvc/IL.rc
+index 8bfadf9..0b8289f 100644
+--- a/src-IL/msvc/IL.rc
++++ b/src-IL/msvc/IL.rc
+@@ -7,10 +7,13 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
+
+-/////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
++/////////////////////////////////////////////////////////////////////////////
+
+ /////////////////////////////////////////////////////////////////////////////
+ // English (United States) resources
+diff --git a/src-IL/msvc8/IL Unicode.rc b/src-IL/msvc8/IL Unicode.rc
+index 026ee49..66ca4bf 100644
+--- a/src-IL/msvc8/IL Unicode.rc
++++ b/src-IL/msvc8/IL Unicode.rc
+@@ -7,7 +7,10 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
+
+ /////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
+diff --git a/src-IL/msvc8/IL.rc b/src-IL/msvc8/IL.rc
+index 9301d41..3ad52c0 100644
+--- a/src-IL/msvc8/IL.rc
++++ b/src-IL/msvc8/IL.rc
+@@ -7,7 +7,10 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
+
+ /////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
+diff --git a/src-IL/msvc9/IL Unicode.rc b/src-IL/msvc9/IL Unicode.rc
+index d0dff4f..c9cf51f 100644
+--- a/src-IL/msvc9/IL Unicode.rc
++++ b/src-IL/msvc9/IL Unicode.rc
+@@ -7,7 +7,10 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
+
+ /////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
+diff --git a/src-IL/msvc9/IL.rc b/src-IL/msvc9/IL.rc
+index 9f5c795..6b8c891 100644
+--- a/src-IL/msvc9/IL.rc
++++ b/src-IL/msvc9/IL.rc
+@@ -7,7 +7,10 @@
+ //
+ // Generated from the TEXTINCLUDE 2 resource.
+ //
+-#include "afxres.h"
++#define APSTUDIO_HIDDEN_SYMBOLS
++#include "windows.h"
++#undef APSTUDIO_HIDDEN_SYMBOLS
++#include "resource.h"
+
+ /////////////////////////////////////////////////////////////////////////////
+ #undef APSTUDIO_READONLY_SYMBOLS
+ \ No newline at end of file