dhewm3: fix musl
This commit is contained in:
parent
3d46b5c0e5
commit
f01e7f895c
|
@ -0,0 +1,18 @@
|
|||
--- neo/sys/posix/posix_net.cpp 2016-06-19 01:48:20.000000000 +0200
|
||||
+++ new/sys/posix/posix_net.cpp 2016-08-17 18:20:27.634588999 +0200
|
||||
@@ -49,6 +49,15 @@
|
||||
|
||||
#include "sys/posix/posix_public.h"
|
||||
|
||||
+#if !defined(TEMP_FAILURE_RETRY)
|
||||
+#define TEMP_FAILURE_RETRY(expression) \
|
||||
+ (__extension__ \
|
||||
+ ({ long int __result; \
|
||||
+ do __result = (long int) (expression); \
|
||||
+ while (__result == -1L && errno == EINTR); \
|
||||
+ __result; }))
|
||||
+#endif
|
||||
+
|
||||
idPort clientPort, serverPort;
|
||||
|
||||
idCVar net_ip( "net_ip", "localhost", CVAR_SYSTEM, "local IP address" );
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dhewm3'
|
||||
pkgname=dhewm3
|
||||
version=1.4.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
makedepends="zlib-devel libjpeg-turbo-devel libogg-devel
|
||||
libvorbis-devel libopenal-devel SDL2-devel libcurl-devel"
|
||||
|
|
Loading…
Reference in New Issue