From 1b53786d2f89ca0330885bd80b6960cc2ed4eb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 31 Oct 2015 15:48:08 +0100 Subject: [PATCH] plib: unbreak musl --- srcpkgs/plib/patches/musl-ushort.patch | 11 +++++++++++ srcpkgs/plib/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/plib/patches/musl-ushort.patch 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"