Blame patches/sdl2-2.0.8.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) eda559
diff -ru SDL2-2.0.8.orig/configure SDL2-2.0.8/configure
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
--- SDL2-2.0.8.orig/configure	2018-03-01 17:34:41.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+++ SDL2-2.0.8/configure	2018-03-26 21:34:16.065368148 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
@@ -23829,7 +23829,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 CheckWarnAll
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 case "$host" in
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
-    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*|*-*-midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
         case "$host" in
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-android*)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
                 # Android
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
@@ -23854,6 +23854,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-knetbsd*-gnu)   ARCH=knetbsd-gnu ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-kopenbsd*-gnu)  ARCH=kopenbsd-gnu ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-gnu*)           ARCH=gnu ;; # must be last of the gnu variants
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+            *-*-midipix*)       ARCH=gnu ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-bsdi*)          ARCH=bsdi ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-freebsd*)       ARCH=freebsd ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
             *-*-dragonfly*)     ARCH=freebsd ;;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
diff -ru SDL2-2.0.8.orig/Makefile.in SDL2-2.0.8/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
--- SDL2-2.0.8.orig/Makefile.in	2018-03-01 17:34:41.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+++ SDL2-2.0.8/Makefile.in	2018-03-26 22:59:44.238745288 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
@@ -124,7 +124,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 LT_REVISION = @LT_REVISION@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 LT_LDFLAGS  = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
-all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 $(srcdir)/configure: $(srcdir)/configure.in
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	@echo "Warning, configure is out of date, please re-run autogen.sh"
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
@@ -167,11 +167,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	    $(INSTALL) -m 644 $(srcdir)/include/SDL_revision.h $(DESTDIR)$(includedir)/SDL2/SDL_revision.h; \
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	fi
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
-install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
-	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 install-data:
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 	$(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
diff -ru SDL2-2.0.8.orig/src/dynapi/SDL_dynapi.c SDL2-2.0.8/src/dynapi/SDL_dynapi.c
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
--- SDL2-2.0.8.orig/src/dynapi/SDL_dynapi.c	2018-03-01 17:34:42.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+++ SDL2-2.0.8/src/dynapi/SDL_dynapi.c	2018-03-26 22:05:52.162381490 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
@@ -222,7 +222,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
     return retval;
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 }
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
-#elif defined(unix) || defined(__unix__) || defined(__APPLE__) || defined(__HAIKU__) || defined(__QNX__)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
+#elif defined(unix) || defined(__unix__) || defined(__APPLE__) || defined(__HAIKU__) || defined(__QNX__) || defined(__midipix__)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 #include <dlfcn.h>
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym)
Lucio Andrés Illanes Albornoz (arab, vxp) eda559
 {