void-packages/srcpkgs/supertuxkart/patches/musl_valist.patch
Jürgen Buchmüller 95eb709c73 supertuxkart: unbreak musl
+ Split data into noarch subpkackage
2015-08-15 23:55:56 +02:00

15 lines
380 B
Diff

--- src/utils/log.hpp 2015-04-21 13:32:22.936220206 +0200
+++ src/utils/log.hpp 2015-08-15 23:43:09.392887849 +0200
@@ -26,10 +26,10 @@
#include <stdlib.h>
#include <string>
-#ifdef __GNUC__
+#if defined(__GLIBC__)
# define VALIST __gnuc_va_list
#else
-# define VALIST char*
+# define VALIST va_list
#endif
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800