summaryrefslogtreecommitdiff
path: root/homebrew/png2ico/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/png2ico/patches.sh')
-rwxr-xr-xhomebrew/png2ico/patches.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/homebrew/png2ico/patches.sh b/homebrew/png2ico/patches.sh
new file mode 100755
index 000000000..9ca06a907
--- /dev/null
+++ b/homebrew/png2ico/patches.sh
@@ -0,0 +1,15 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/png2ico.cpp b/png2ico.cpp
+index 8fb87e4..9dedb97 100644
+--- a/png2ico.cpp
++++ b/png2ico.cpp
+@@ -34,6 +34,7 @@ Notes about transparent and inverted pixels:
+ #include <cstdio>
+ #include <vector>
+ #include <climits>
++#include <cstdlib>
+
+ #if __GNUC__ > 2
+ #include <ext/hash_map>
+EOF