diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch')
-rw-r--r-- | net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch b/net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch new file mode 100644 index 000000000000..4d1bd67c6d34 --- /dev/null +++ b/net-analyzer/bwbar/files/bwbar-1.2.3-libpng15.patch @@ -0,0 +1,19 @@ +--- a/bwbar.c ++++ b/bwbar.c +@@ -30,6 +30,7 @@ + #include <alloca.h> + #include <getopt.h> + #include <png.h> ++#include <zlib.h> + + void skipline(FILE *f) + { +@@ -79,7 +80,7 @@ + if ( !info_ptr ) + goto barf; + +- if ( setjmp(png_ptr->jmpbuf) ) { ++ if ( setjmp(png_jmpbuf(png_ptr)) ) { + status = 1; + goto barf; /* libpng abort */ + } |