pornel/improved-pngquant — Issue #6: Fails to compile against vanilla libpng-1.2.44
Author: sq9mev
Created: 2011-12-02 08:55:21+00:00
State: open

Reason is in line 371 ../libpng/pngconf.h, solution:

diff --git a/pngquant.c b/pngquant.c
index de1bd81..f895859 100644
--- a/pngquant.c
+++ b/pngquant.c
@@ -52,6 +52,7 @@
# include /* setmode() */
#endif

+#define PNG_SKIP_SETJMP_CHECK
#include "rwpng.h" /* typedefs, common macros, public prototypes */
#include "pam.h"
#include "mediancut.h"