plib: unbreak musl
This commit is contained in:
parent
8668e047f3
commit
1b53786d2f
2 changed files with 12 additions and 1 deletions
11
srcpkgs/plib/patches/musl-ushort.patch
Normal file
11
srcpkgs/plib/patches/musl-ushort.patch
Normal file
|
@ -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
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'plib'
|
# Template build file for 'plib'
|
||||||
pkgname=plib
|
pkgname=plib
|
||||||
version=1.8.5
|
version=1.8.5
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared --disable-static"
|
configure_args="--enable-shared --disable-static"
|
||||||
short_desc="Suite of Portable Game Libraries"
|
short_desc="Suite of Portable Game Libraries"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue