vcpkg/ports/devil/0002_fix-missing-mfc-includes.patch

102 lines
3.1 KiB
Diff
Raw Normal View History

2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc/IL Unicode.rc b/DevIL/src-IL/msvc/IL Unicode.rc
2017-10-30 11:50:29 +08:00
index 346758f..298a207 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc/IL Unicode.rc
+++ b/DevIL/src-IL/msvc/IL Unicode.rc
2017-10-30 11:50:29 +08:00
@@ -7,7 +7,11 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
2017-11-22 14:50:03 +08:00
-#include "afxres.h"
2017-10-30 11:50:29 +08:00
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#include "resource.h"
+
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc/IL.rc b/DevIL/src-IL/msvc/IL.rc
2017-10-30 11:50:29 +08:00
index 8bfadf9..0b8289f 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc/IL.rc
+++ b/DevIL/src-IL/msvc/IL.rc
2017-10-30 11:50:29 +08:00
@@ -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
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc8/IL Unicode.rc b/DevIL/src-IL/msvc8/IL Unicode.rc
2017-10-30 11:50:29 +08:00
index 026ee49..66ca4bf 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc8/IL Unicode.rc
+++ b/DevIL/src-IL/msvc8/IL Unicode.rc
2017-10-30 11:50:29 +08:00
@@ -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
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc8/IL.rc b/DevIL/src-IL/msvc8/IL.rc
2017-10-30 11:50:29 +08:00
index 9301d41..3ad52c0 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc8/IL.rc
+++ b/DevIL/src-IL/msvc8/IL.rc
2017-10-30 11:50:29 +08:00
@@ -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
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc9/IL Unicode.rc b/DevIL/src-IL/msvc9/IL Unicode.rc
2017-10-30 11:50:29 +08:00
index d0dff4f..c9cf51f 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc9/IL Unicode.rc
+++ b/DevIL/src-IL/msvc9/IL Unicode.rc
2017-10-30 11:50:29 +08:00
@@ -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
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-IL/msvc9/IL.rc b/DevIL/src-IL/msvc9/IL.rc
2017-10-30 11:50:29 +08:00
index 9f5c795..6b8c891 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-IL/msvc9/IL.rc
+++ b/DevIL/src-IL/msvc9/IL.rc
2017-10-30 11:50:29 +08:00
@@ -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