From 94ff5a95a827e5e418dfdc3299bf0d0f333becd8 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 25 Aug 2015 19:25:28 +0200 Subject: [PATCH] urbanterror: fix musl --- srcpkgs/urbanterror/patches/musl.patch | 25 +++++++++++++++++++++++++ srcpkgs/urbanterror/template | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/urbanterror/patches/musl.patch diff --git a/srcpkgs/urbanterror/patches/musl.patch b/srcpkgs/urbanterror/patches/musl.patch new file mode 100644 index 00000000000..f4e7b5f0de2 --- /dev/null +++ b/srcpkgs/urbanterror/patches/musl.patch @@ -0,0 +1,25 @@ +From 3f0a36985a046dfb9432e57fb26e5ee4913fc7fe Mon Sep 17 00:00:00 2001 +From: Andrea Brancaleoni +Date: Tue, 25 Aug 2015 19:06:12 +0200 +Subject: [PATCH] musl + +--- + code/unix/unix_main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git code/unix/unix_main.c code/unix/unix_main.c +index ab3608b..f823800 100644 +--- code/unix/unix_main.c ++++ code/unix/unix_main.c +@@ -53,7 +53,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + #include + #endif + +-#ifdef __linux__ ++#ifdef __GLIBC__ + #include // bk001213 - force dumps on divide by zero + #endif + +-- +2.5.0 + diff --git a/srcpkgs/urbanterror/template b/srcpkgs/urbanterror/template index b991323c2db..d6e52b20142 100644 --- a/srcpkgs/urbanterror/template +++ b/srcpkgs/urbanterror/template @@ -1,7 +1,7 @@ # Template file for 'urbanterror' pkgname=urbanterror version=4.2.023 -revision=2 +revision=3 wrksrc="ioq3-for-UrbanTerror-4-release-${version}" makedepends="SDL-devel libopenal-devel libcurl-devel libvorbis-devel" depends="urbanterror-data>=${version}"