ports/devel/doxygen/files/patch-png
Mikhail Teterin 406cd74100 Upgrade from 1.4.6 to 1.4.7. LIB_DEPEND on png and use the standard -lmd
instead of building our own versions.

The bundled qtools/ can be removed too, but that will make the port
always depend on Qt (hence X11), which it currently avoids.

Approved by:	maintainer timeout (13 days)
2006-06-27 04:35:57 +00:00

25 lines
513 B
Text

Use the standard png-library instead of rolling our own.
-mi
--- src/pngenc.cpp Sun May 7 14:02:31 2006
+++ src/pngenc.cpp Wed Jun 14 01:50:19 2006
@@ -21,10 +21,5 @@
*/
-#ifndef png_jmpbuf
-# define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf)
-#endif
-
-#define ALL_STATIC
-#include <../libpng/png.h>
+#include <png.h>
#include <stdio.h>
#include <stdlib.h>
@@ -33,6 +28,4 @@
#include "pngenc.h"
#include "message.h"
-
-#undef jmpbuf
static void user_error_fn(png_structp, png_const_charp error_msg)