From 939469c83142cd06e456cc0d588e4f1627a332ae Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 21 Dec 2021 19:36:31 +0100 Subject: [PATCH] Ports: Remove wchar patch from dosbox-staging --- Ports/dosbox-staging/patches/wchar.patch | 35 ------------------------ 1 file changed, 35 deletions(-) delete mode 100644 Ports/dosbox-staging/patches/wchar.patch diff --git a/Ports/dosbox-staging/patches/wchar.patch b/Ports/dosbox-staging/patches/wchar.patch deleted file mode 100644 index d2674cf0dc..0000000000 --- a/Ports/dosbox-staging/patches/wchar.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur dosbox-staging-0.76.0/src/libs/decoders/dr_mp3.h dosbox-staging-0.76.0.serenity/src/libs/decoders/dr_mp3.h ---- dosbox-staging-0.76.0/src/libs/decoders/dr_mp3.h 2020-12-03 19:36:19.000000000 +0100 -+++ dosbox-staging-0.76.0.serenity/src/libs/decoders/dr_mp3.h 2021-06-18 14:15:49.491277178 +0200 -@@ -3378,6 +3378,7 @@ - #endif - #endif - -+#ifndef __serenity__ - static drmp3_result drmp3_wfopen(FILE** ppFile, const wchar_t* pFilePath, const wchar_t* pOpenMode, const drmp3_allocation_callbacks* pAllocationCallbacks) - { - if (ppFile != NULL) { -@@ -3459,6 +3460,7 @@ - - return DRMP3_SUCCESS; - } -+#endif - - - -@@ -3482,6 +3484,7 @@ - return drmp3_init(pMP3, drmp3__on_read_stdio, drmp3__on_seek_stdio, (void*)pFile, pAllocationCallbacks); - } - -+#ifndef __serenity__ - DRMP3_API drmp3_bool32 drmp3_init_file_w(drmp3* pMP3, const wchar_t* pFilePath, const drmp3_allocation_callbacks* pAllocationCallbacks) - { - FILE* pFile; -@@ -3492,6 +3495,7 @@ - return drmp3_init(pMP3, drmp3__on_read_stdio, drmp3__on_seek_stdio, (void*)pFile, pAllocationCallbacks); - } - #endif -+#endif - - DRMP3_API void drmp3_uninit(drmp3* pMP3) - {