urbanterror: fix musl
This commit is contained in:
parent
6bdae70aaa
commit
94ff5a95a8
|
@ -0,0 +1,25 @@
|
|||
From 3f0a36985a046dfb9432e57fb26e5ee4913fc7fe Mon Sep 17 00:00:00 2001
|
||||
From: Andrea Brancaleoni <miwaxe@gmail.com>
|
||||
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 <dlfcn.h>
|
||||
#endif
|
||||
|
||||
-#ifdef __linux__
|
||||
+#ifdef __GLIBC__
|
||||
#include <fpu_control.h> // bk001213 - force dumps on divide by zero
|
||||
#endif
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue