summaryrefslogtreecommitdiffhomepage
path: root/patches/sdl2/iconv.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-10-05 14:05:24 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-10-05 16:10:02 +0100
commit213fe0adcfea44a11be64f8138712b877cbef31e (patch)
treea6de731b40472e61eb4000dbb91c033b08b9e6ed /patches/sdl2/iconv.patch
parenta35f6d2a19ab9c5b0b8f6bb84197e02e7416ba3f (diff)
downloadmidipix_build-213fe0adcfea44a11be64f8138712b877cbef31e.tar.bz2
midipix_build-213fe0adcfea44a11be64f8138712b877cbef31e.tar.xz
groups/251.native_packages_lib.group: sdl2 switch to win32
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/sdl2/iconv.patch')
-rw-r--r--patches/sdl2/iconv.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/sdl2/iconv.patch b/patches/sdl2/iconv.patch
new file mode 100644
index 00000000..64008c8a
--- /dev/null
+++ b/patches/sdl2/iconv.patch
@@ -0,0 +1,12 @@
+diff -ru SDL2-2.0.8.orig/src/stdlib/SDL_iconv.c SDL2-2.0.8/src/stdlib/SDL_iconv.c
+--- SDL2-2.0.8.orig/src/stdlib/SDL_iconv.c 2018-03-01 17:34:42.000000000 +0100
++++ SDL2-2.0.8/src/stdlib/SDL_iconv.c 2020-10-05 12:56:24.565427760 +0200
+@@ -37,7 +37,7 @@
+ iconv() may or may not use const char ** for the inbuf param.
+ If we get this wrong, it's just a warning, so no big deal.
+ */
+-#if defined(_XGP6) || defined(__APPLE__) || \
++#if defined(_XGP6) || defined(__APPLE__) || defined(__midipix__) || \
+ defined(__EMSCRIPTEN__) || \
+ (defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \
+ (defined(_NEWLIB_VERSION)))