diff --git a/srcpkgs/plib/patches/musl-ushort.patch b/srcpkgs/plib/patches/musl-ushort.patch new file mode 100644 index 00000000000..e04e6b60ca3 --- /dev/null +++ b/srcpkgs/plib/patches/musl-ushort.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/srcpkgs/plib/template b/srcpkgs/plib/template index ff40f3849e6..924fee338a7 100644 --- a/srcpkgs/plib/template +++ b/srcpkgs/plib/template @@ -1,7 +1,7 @@ # Template build file for 'plib' pkgname=plib version=1.8.5 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-shared --disable-static" short_desc="Suite of Portable Game Libraries"