diff options
Diffstat (limited to 'homebrew/splint/patches.sh')
-rwxr-xr-x | homebrew/splint/patches.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/splint/patches.sh b/homebrew/splint/patches.sh new file mode 100755 index 000000000..8fa22cf00 --- /dev/null +++ b/homebrew/splint/patches.sh @@ -0,0 +1,16 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/src/osd.c b/src/osd.c +index ebe214a..4ba81d5 100644 +--- a/src/osd.c ++++ b/src/osd.c +@@ -516,7 +516,7 @@ osd_getPid () + # if defined (WIN32) || defined (OS2) && defined (__IBMC__) + int pid = _getpid (); + # else +- __pid_t pid = getpid (); ++ pid_t pid = getpid (); + # endif + + return (int) pid; +EOF |