Skip to content

Instantly share code, notes, and snippets.

@nevsan
nevsan / graphicsmagick1.3.12_libpng15_patch
Created August 7, 2011 00:55
Fixes 'coders/png.c' in GraphicsMagick 1.3.12 to compile against libpng1.5.
diff --git a/coders/png.c b/coders/png.c
index 95e2f93..48cd211 100644
--- a/coders/png.c
+++ b/coders/png.c
@@ -88,26 +88,7 @@
#include "zlib.h"
-/*
- * TO DO: rewrite using png_get_tRNS() instead of direct access to the