FreeBSD Bugzilla – Attachment 206259 Details for
Bug 239632
games/dhewm3: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dhewm3.patch (text/plain), 1.68 KB, created by
Piotr Kubaj
on 2019-08-03 22:31:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-08-03 22:31:43 UTC
Size:
1.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 507525) >+++ Makefile (working copy) >@@ -19,7 +19,7 @@ > USE_GITHUB= yes > GH_ACCOUNT= dhewm > >-USES= cmake compiler:c++11-lang jpeg openal:al >+USES= cmake compiler:c++11-lang jpeg openal:al sdl > USE_SDL= sdl2 > LLD_UNSAFE= yes > >Index: files/patch-sys_posix_posix__net.cpp >=================================================================== >--- files/patch-sys_posix_posix__net.cpp (nonexistent) >+++ files/patch-sys_posix_posix__net.cpp (working copy) >@@ -0,0 +1,20 @@ >+--- sys/posix/posix_net.cpp.orig 2019-08-03 21:07:04 UTC >++++ sys/posix/posix_net.cpp >+@@ -644,7 +644,7 @@ int idTCP::Read(void *data, int size) { >+ return -1; >+ } >+ >+-#if defined(_GNU_SOURCE) >++#if defined(_GNU_SOURCE) && !defined(__FreeBSD__) >+ // handle EINTR interrupted system call with TEMP_FAILURE_RETRY - this is probably GNU libc specific >+ if ( ( nbytes = TEMP_FAILURE_RETRY( read( fd, data, size ) ) ) == -1 ) { >+ #else >+@@ -701,7 +701,7 @@ int idTCP::Write(void *data, int size) { >+ return -1; >+ } >+ >+-#if defined(_GNU_SOURCE) >++#if defined(_GNU_SOURCE) && !defined(__FreeBSD__) >+ // handle EINTR interrupted system call with TEMP_FAILURE_RETRY - this is probably GNU libc specific >+ if ( ( nbytes = TEMP_FAILURE_RETRY ( write( fd, data, size ) ) ) == -1 ) { >+ #else > >Property changes on: files/patch-sys_posix_posix__net.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pkubaj
:
maintainer-approval?
(
amdmi3
)
Actions:
View
|
Diff
Attachments on
bug 239632
: 206259