View | Details | Raw Unified | Return to bug 239632
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 19-25 Link Here
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	dhewm
20
GH_ACCOUNT=	dhewm
21
21
22
USES=		cmake compiler:c++11-lang jpeg openal:al
22
USES=		cmake compiler:c++11-lang jpeg openal:al sdl
23
USE_SDL=	sdl2
23
USE_SDL=	sdl2
24
LLD_UNSAFE=	yes
24
LLD_UNSAFE=	yes
25
25
(-)files/patch-sys_posix_posix__net.cpp (+20 lines)
Line 0 Link Here
1
--- sys/posix/posix_net.cpp.orig	2019-08-03 21:07:04 UTC
2
+++ sys/posix/posix_net.cpp
3
@@ -644,7 +644,7 @@ int idTCP::Read(void *data, int size) {
4
 		return -1;
5
 	}
6
 
7
-#if defined(_GNU_SOURCE)
8
+#if defined(_GNU_SOURCE) && !defined(__FreeBSD__)
9
 	// handle EINTR interrupted system call with TEMP_FAILURE_RETRY -  this is probably GNU libc specific
10
 	if ( ( nbytes = TEMP_FAILURE_RETRY( read( fd, data, size ) ) ) == -1 ) {
11
 #else
12
@@ -701,7 +701,7 @@ int	idTCP::Write(void *data, int size) {
13
 		return -1;
14
 	}
15
 
16
-#if defined(_GNU_SOURCE)
17
+#if defined(_GNU_SOURCE) && !defined(__FreeBSD__)
18
 	// handle EINTR interrupted system call with TEMP_FAILURE_RETRY -  this is probably GNU libc specific
19
 	if ( ( nbytes = TEMP_FAILURE_RETRY ( write( fd, data, size ) ) ) == -1 ) {
20
 #else

Return to bug 239632