diff options
Diffstat (limited to 'homebrew/aview/patches.sh')
-rwxr-xr-x | homebrew/aview/patches.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/homebrew/aview/patches.sh b/homebrew/aview/patches.sh new file mode 100755 index 000000000..c7e13637d --- /dev/null +++ b/homebrew/aview/patches.sh @@ -0,0 +1,28 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/image.c b/image.c +index 232b838..9780e61 100644 +--- a/image.c ++++ b/image.c +@@ -1,6 +1,6 @@ + #include <stdio.h> + #include <unistd.h> +-#include <malloc.h> ++#include <stdlib.h> + #include "config.h" + + int imgwidth, imgheight; +diff --git a/ui.c b/ui.c +index d316f7a..134a4ca 100644 +--- a/ui.c ++++ b/ui.c +@@ -1,6 +1,6 @@ + #include <stdio.h> + #include <ctype.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <string.h> + #include <aalib.h> + #include "shrink.h" + +EOF |