Blame patches/sdlquake-1.0.9.local.patch

a36ec5
diff -ru sdlquake-1.0.9.orig/draw.c sdlquake-1.0.9/draw.c
a36ec5
--- sdlquake-1.0.9.orig/draw.c	1999-12-22 00:53:24.000000000 +0100
a36ec5
+++ sdlquake-1.0.9/draw.c	2021-08-26 20:17:34.381572611 +0200
a36ec5
@@ -557,6 +557,9 @@
a36ec5
 #elif defined(__linux__)
a36ec5
 	sprintf (ver, "(Linux Quake %2.2f) %4.2f", (float)LINUX_VERSION, (float)VERSION);
a36ec5
 	dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
a36ec5
+#elif defined(__midipix__)
a36ec5
+	sprintf (ver, "(Midipix Quake) %4.2f", (float)VERSION);
a36ec5
+	dest = conback->data + 320*186 + 320 - 11 -8*strlen(ver);
a36ec5
 #else
a36ec5
 	dest = conback->data + 320 - 43 + 320*186;
a36ec5
 	sprintf (ver, "%4.2f", VERSION);
a36ec5
diff -ru sdlquake-1.0.9.orig/net.h sdlquake-1.0.9/net.h
a36ec5
--- sdlquake-1.0.9.orig/net.h	1999-12-22 00:54:20.000000000 +0100
a36ec5
+++ sdlquake-1.0.9/net.h	2021-08-26 20:15:24.072736300 +0200
a36ec5
@@ -238,7 +238,7 @@
a36ec5
 extern int hostCacheCount;
a36ec5
 extern hostcache_t hostcache[HOSTCACHESIZE];
a36ec5
 
a36ec5
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
a36ec5
+#if !defined(_WIN32 ) && !defined (__linux__) && !defined(__midipix__) && !defined (__sun__)
a36ec5
 #ifndef htonl
a36ec5
 extern unsigned long htonl (unsigned long hostlong);
a36ec5
 #endif