diff options
Diffstat (limited to 'homebrew/vncsnapshot/patches.sh')
-rwxr-xr-x | homebrew/vncsnapshot/patches.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/homebrew/vncsnapshot/patches.sh b/homebrew/vncsnapshot/patches.sh new file mode 100755 index 000000000..f12809d5f --- /dev/null +++ b/homebrew/vncsnapshot/patches.sh @@ -0,0 +1,20 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/sockets.cxx b/sockets.cxx +index ecdf0db..6c827fa 100644 +--- a/sockets.cxx ++++ b/sockets.cxx +@@ -38,9 +38,9 @@ typedef int socklen_t; + #include <fcntl.h> + #endif + +-#ifdef __APPLE__ +-typedef int socklen_t; +-#endif ++//#ifdef __APPLE__ ++//typedef int socklen_t; ++//#endif + + extern "C" { + #include "vncsnapshot.h" +EOF |