aboutsummaryrefslogtreecommitdiffstats
path: root/devel/doxygen/files/patch-png
blob: d3dee411f897083381eeedcadb451e5f9aff0e77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)