void-packages/srcpkgs/plib/patches/musl-ushort.patch
Jürgen Buchmüller 1b53786d2f plib: unbreak musl
2015-10-31 15:48:18 +01:00

11 lines
311 B
Diff

--- src/ssg/ssgLoadFLT.cxx 2008-03-11 03:06:23.000000000 +0100
+++ src/ssg/ssgLoadFLT.cxx 2015-10-31 15:45:55.426989776 +0100
@@ -142,7 +142,7 @@
typedef unsigned char ubyte;
-#ifdef UL_WIN32
+#if defined(UL_WIN32) || !defined(__GLIBC__)
typedef unsigned short ushort;
typedef unsigned int uint;
#endif