summaryrefslogtreecommitdiff
path: root/homebrew/pngnq/patches.sh
blob: c5caf9db57301b9ee6738d4ca6f03d28a8ced16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
diff --git a/src/rwpng.c b/src/rwpng.c
index aaa21fc..5324afe 100644
--- a/src/rwpng.c
+++ b/src/rwpng.c
@@ -31,6 +31,7 @@

 #include <stdio.h>
 #include <stdlib.h>
+#include <zlib.h>

 #include "png.h"        /* libpng header; includes zlib.h */
 #include "rwpng.h"      /* typedefs, common macros, public prototypes */
EOF