echo 'Creating brew-patch.diff' cat << EOF >> brew-patch.diff diff --git a/src/io/network.cpp b/src/io/network.cpp index 8af8775..362118e 100644 --- a/src/io/network.cpp +++ b/src/io/network.cpp @@ -53,6 +53,9 @@ #include #include #endif + #ifdef __APPLE__ + #define MSG_NOSIGNAL SO_NOSIGPIPE + #endif #elif defined USE_SDL_NET #include #endif EOF