diff --git a/ports/irrlicht/CMakeLists.txt b/ports/irrlicht/CMakeLists.txt index e61a1d27038ff7..b58739836d8791 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 89c782b4625c09..7cc3e422370533 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 5bee54b4219000..f4eaf5fc8fd96b 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 ...] diff --git a/ports/irrlicht/support-unicode-on-windows.patch b/ports/irrlicht/support-unicode-on-windows.patch deleted file mode 100644 index 609824401bb67c..00000000000000 --- 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