diff options
| author | DailyShana <p2357111317192329@gmail.com> | 2019-07-22 14:15:49 +0800 |
|---|---|---|
| committer | Unknown <robots_only_adrido@gmx.com> | 2019-08-16 16:19:18 +0200 |
| commit | 073e0e4306336adc99eaa096951ba37a6ac11f68 (patch) | |
| tree | cf4b73d1c4d849c118cfc2702c75b79f1e7ebb16 | |
| parent | 0a033250c7dd3f4013248216e259548693b8cc8c (diff) | |
| download | vcpkg-073e0e4306336adc99eaa096951ba37a6ac11f68.tar.gz vcpkg-073e0e4306336adc99eaa096951ba37a6ac11f68.zip | |
Revert "[irrlicht] use unicode path on windows (#7354)"
This reverts commit 22be764ecc302d93371b8f7a05faf0fc4e39fa31.
| -rw-r--r-- | ports/irrlicht/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | ports/irrlicht/CONTROL | 2 | ||||
| -rw-r--r-- | ports/irrlicht/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/irrlicht/support-unicode-on-windows.patch | 28 |
4 files changed, 1 insertions, 41 deletions
diff --git a/ports/irrlicht/CMakeLists.txt b/ports/irrlicht/CMakeLists.txt index e61a1d270..b58739836 100644 --- a/ports/irrlicht/CMakeLists.txt +++ b/ports/irrlicht/CMakeLists.txt @@ -85,13 +85,6 @@ target_link_libraries(Irrlicht PRIVATE ${BZIP2_LIBRARY}
)
-target_compile_definitions(Irrlicht PRIVATE
- NO_IRR_USE_NON_SYSTEM_ZLIB_
- NO_IRR_USE_NON_SYSTEM_LIB_PNG_
- NO_IRR_USE_NON_SYSTEM_JPEG_LIB_
- NO_IRR_USE_NON_SYSTEM_BZLIB_
- )
-
if(IRR_BUILD_TOOLS)
add_executable(FileToHeader ${IRR_TOOL_FILES_FILE_TO_HEADER})
@@ -151,9 +144,6 @@ endif() target_compile_definitions(Irrlicht PRIVATE IRRLICHT_EXPORTS)
if(WIN32)
- # Unicode
- target_compile_definitions(Irrlicht PRIVATE UNICODE _UNICODE)
-
# Import the symbols of bzip2
target_compile_definitions(Irrlicht PRIVATE BZ_IMPORT)
diff --git a/ports/irrlicht/CONTROL b/ports/irrlicht/CONTROL index 89c782b46..7cc3e4223 100644 --- a/ports/irrlicht/CONTROL +++ b/ports/irrlicht/CONTROL @@ -1,5 +1,5 @@ Source: irrlicht
-Version: 1.8.4-2
+Version: 1.8.4-1
Description: Irrlicht lightning fast 3d engine
Build-Depends: zlib, libpng, bzip2, libjpeg-turbo
diff --git a/ports/irrlicht/portfile.cmake b/ports/irrlicht/portfile.cmake index 5bee54b42..f4eaf5fc8 100644 --- a/ports/irrlicht/portfile.cmake +++ b/ports/irrlicht/portfile.cmake @@ -22,8 +22,6 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
REF "1.8.4"
- PATCHES
- "support-unicode-on-windows.patch"
# [NO_REMOVE_ONE_LEVEL]
# [WORKING_DIRECTORY <${CURRENT_BUILDTREES_DIR}/src>]
# [PATCHES <a.patch>...]
diff --git a/ports/irrlicht/support-unicode-on-windows.patch b/ports/irrlicht/support-unicode-on-windows.patch deleted file mode 100644 index 609824401..000000000 --- a/ports/irrlicht/support-unicode-on-windows.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h -index c2c5d12..7c44f0c 100644 ---- a/include/IrrCompileConfig.h -+++ b/include/IrrCompileConfig.h -@@ -233,7 +233,9 @@ you will not be able to use anything provided by the GUI Environment, including - disable this feature, the engine behave as before (ansi). This is currently only supported - for Windows based systems. You also have to set #define UNICODE for this to compile. - */ --//#define _IRR_WCHAR_FILESYSTEM -+#if defined(_IRR_WINDOWS_) && (defined(_UNICODE) || defined(UNICODE)) -+#define _IRR_WCHAR_FILESYSTEM -+#endif - #ifdef NO_IRR_WCHAR_FILESYSTEM - #undef _IRR_WCHAR_FILESYSTEM - #endif -diff --git a/include/Keycodes.h b/include/Keycodes.h -index e56eca1..57ab312 100644 ---- a/include/Keycodes.h -+++ b/include/Keycodes.h -@@ -89,7 +89,7 @@ namespace irr - KEY_KEY_X = 0x58, // X key - KEY_KEY_Y = 0x59, // Y key - KEY_KEY_Z = 0x5A, // Z key -- KEY_LWIN = 0x5B, // Left Windows key (Microsoft® Natural® keyboard) -+ KEY_LWIN = 0x5B, // Left Windows key (Microsoft® Natural® keyboard) - KEY_RWIN = 0x5C, // Right Windows key (Natural keyboard) - KEY_APPS = 0x5D, // Applications key (Natural keyboard) - KEY_SLEEP = 0x5F, // Computer Sleep key |
