Blame doxygen-1.5.5-system-png.patch

Than Ngo e15ff8
diff -up doxygen-1.5.8/configure.system-png doxygen-1.5.8/configure
Than Ngo e15ff8
--- doxygen-1.5.8/configure.system-png	2009-02-06 17:17:34.000000000 +0100
Than Ngo e15ff8
+++ doxygen-1.5.8/configure	2009-02-06 17:17:34.000000000 +0100
Than Ngo e15ff8
@@ -576,7 +576,7 @@ TMAKE_CXXFLAGS += -DENGLISH_ONLY
Than Ngo e15ff8
 EOF
Than Ngo e15ff8
 fi
Than Ngo e15ff8
 
Than Ngo e15ff8
-f_inmakefiles="Makefile.in qtools/Makefile.in src/Makefile.in examples/Makefile.in doc/Makefile.in addon/doxywizard/Makefile.in addon/doxmlparser/src/Makefile.in addon/doxmlparser/test/Makefile.in addon/doxmlparser/examples/metrics/Makefile.in libpng/Makefile.in libmd5/Makefile.in addon/doxyapp/Makefile.in"
Than Ngo e15ff8
+f_inmakefiles="Makefile.in qtools/Makefile.in src/Makefile.in examples/Makefile.in doc/Makefile.in addon/doxywizard/Makefile.in addon/doxmlparser/src/Makefile.in addon/doxmlparser/test/Makefile.in addon/doxmlparser/examples/metrics/Makefile.in libmd5/Makefile.in addon/doxyapp/Makefile.in"
Than Ngo e15ff8
 
Than Ngo e15ff8
 for i in $f_inmakefiles ; do
Than Ngo e15ff8
      SRC=$i
Than Ngo e15ff8
@@ -593,7 +593,6 @@ EOF
Than Ngo e15ff8
        echo "" >> $DST
Than Ngo e15ff8
        echo "all: src/version.cpp " >> $DST
Than Ngo e15ff8
        echo "	\$(MAKE) -C qtools" >> $DST
Than Ngo e15ff8
-       echo "	\$(MAKE) -C libpng" >> $DST
Than Ngo e15ff8
        echo "	\$(MAKE) -C libmd5" >> $DST
Than Ngo e15ff8
        echo "	\$(MAKE) -C src" >> $DST
Than Ngo e15ff8
        if test $f_wizard = YES; then
Than Ngo e15ff8
@@ -617,7 +616,7 @@ EOF
Than Ngo e15ff8
      echo "  Created $DST from $SRC..."
Than Ngo e15ff8
 done
Than Ngo e15ff8
 
Than Ngo e15ff8
-f_inprofiles="qtools/qtools.pro.in src/libdoxygen.pro.in src/libdoxycfg.pro.in src/doxygen.pro.in src/doxytag.pro.in addon/doxywizard/doxywizard.pro.in addon/doxmlparser/src/doxmlparser.pro.in addon/doxmlparser/test/xmlparse.pro.in addon/doxmlparser/examples/metrics/metrics.pro.in libpng/libpng.pro.in libmd5/libmd5.pro.in addon/doxyapp/doxyapp.pro.in" 
Than Ngo e15ff8
+f_inprofiles="qtools/qtools.pro.in src/libdoxygen.pro.in src/libdoxycfg.pro.in src/doxygen.pro.in src/doxytag.pro.in addon/doxywizard/doxywizard.pro.in addon/doxmlparser/src/doxmlparser.pro.in addon/doxmlparser/test/xmlparse.pro.in addon/doxmlparser/examples/metrics/metrics.pro.in libmd5/libmd5.pro.in addon/doxyapp/doxyapp.pro.in" 
Than Ngo e15ff8
 
Than Ngo e15ff8
 for i in $f_inprofiles ; do
Than Ngo e15ff8
      SRC=$i
Than Ngo e15ff8
diff -up doxygen-1.5.8/Makefile.in.system-png doxygen-1.5.8/Makefile.in
Than Ngo e15ff8
--- doxygen-1.5.8/Makefile.in.system-png	2009-02-06 17:17:34.000000000 +0100
Than Ngo e15ff8
+++ doxygen-1.5.8/Makefile.in	2009-02-06 17:17:34.000000000 +0100
Than Ngo e15ff8
@@ -9,7 +9,6 @@ clean: FORCE
Than Ngo 87c256
 	cd doc ; $(MAKE) clean
Than Ngo 87c256
 	cd qtools ; $(MAKE) clean
Than Ngo 87c256
 	cd src ; $(MAKE) clean
Than Ngo 87c256
-	cd libpng ; $(MAKE) clean
Than Ngo 87c256
 	cd libmd5 ; $(MAKE) clean
Than Ngo 87c256
 	cd addon/doxywizard ; $(MAKE) clean
Than Ngo 87c256
 	cd addon/doxmlparser/src ; $(MAKE) clean
Than Ngo e15ff8
@@ -20,7 +19,6 @@ clean: FORCE
Than Ngo 87c256
 
Than Ngo 87c256
 distclean: clean
Than Ngo 87c256
 	cd src ; $(MAKE) distclean
Than Ngo 87c256
-	cd libpng ; $(MAKE) distclean
Than Ngo 87c256
 	cd libmd5 ; $(MAKE) distclean
Than Ngo 87c256
 	cd addon/doxywizard ; $(MAKE) distclean
Than Ngo 87c256
 	cd addon/doxmlparser/src ; $(MAKE) distclean
Than Ngo e15ff8
@@ -34,11 +32,10 @@ distclean: clean
Than Ngo 87c256
 	-rm -f objects/*.o
Than Ngo 87c256
 	-rm -f src/Makefile.doxygen src/Makefile.libdoxygen 
Than Ngo 87c256
 	-rm -f src/Makefile.doxytag src/Makefile.libdoxycfg
Than Ngo 87c256
-	-rm -f libpng/Makefile.libpng
Than Ngo 87c256
 	-rm -f libmd5/Makefile.libmd5
Than Ngo 87c256
 	-rm -f Makefile qtools/Makefile src/Makefile examples/Makefile doc/Makefile 
Than Ngo 87c256
 	-rm -f .makeconfig .tmakeconfig
Than Ngo 87c256
-	-rm -f src/doxygen.pro src/libdoxygen.pro src/doxytag.pro qtools/qtools.pro src/libdoxycfg.pro libpng/libpng.pro libmd5/libmd5.pro
Than Ngo 87c256
+	-rm -f src/doxygen.pro src/libdoxygen.pro src/doxytag.pro qtools/qtools.pro src/libdoxycfg.pro libmd5/libmd5.pro
Than Ngo 87c256
 	-rm -f src/version.cpp
Than Ngo 87c256
 	-rm -r addon/doxywizard/Makefile
Than Ngo e15ff8
 	-rm -f addon/doxywizard/doxywizard.pro
Than Ngo e15ff8
@@ -75,7 +72,7 @@ docs: FORCE
Than Ngo 87c256
 pdf: docs
Than Ngo 87c256
 	cd latex ; $(MAKE)
Than Ngo 87c256
 
Than Ngo 87c256
-DISTFILES =  Doxyfile libpng libmd5 addon tmake doc wintools examples bin lib objects \
Than Ngo 87c256
+DISTFILES =  Doxyfile libmd5 addon tmake doc wintools examples bin lib objects \
Than Ngo 87c256
              qtools src configure configure.bin Makefile.in Makefile.win_nmake.in \
Than Ngo 87c256
              Makefile.win_make.in INSTALL make.bat LANGUAGE.HOWTO LICENSE PLATFORMS \
Than Ngo 87c256
              VERSION packages winbuild
Than Ngo e15ff8
diff -up doxygen-1.5.8/src/doxygen.pro.in.system-png doxygen-1.5.8/src/doxygen.pro.in
Than Ngo e15ff8
--- doxygen-1.5.8/src/doxygen.pro.in.system-png	2008-01-01 11:40:58.000000000 +0100
Than Ngo e15ff8
+++ doxygen-1.5.8/src/doxygen.pro.in	2009-02-06 17:17:34.000000000 +0100
Than Ngo 87c256
@@ -28,7 +28,7 @@ win32-borland:TMAKE_LFLAGS += -L..\lib -
Than Ngo 87c256
 win32:TMAKE_CXXFLAGS       += -DQT_NODLL
Than Ngo 87c256
 win32-g++:LIBS             = -L../lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5 -liconv
Than Ngo 87c256
 win32-g++:TMAKE_CXXFLAGS   += -fno-exceptions -fno-rtti
Than Ngo 87c256
-INCLUDEPATH                += ../qtools ../libpng ../libmd5 .
Than Ngo 87c256
+INCLUDEPATH                += ../qtools ../libmd5 .
Than Ngo 87c256
 #win32-g++:INCLUDEPATH      -= ../libpng
Than Ngo 87c256
 DESTDIR                    =  ../bin
Than Ngo 87c256
 TARGET                     =  doxygen
Than Ngo e15ff8
diff -up doxygen-1.5.8/src/libdoxygen.pro.in.system-png doxygen-1.5.8/src/libdoxygen.pro.in
Than Ngo e15ff8
--- doxygen-1.5.8/src/libdoxygen.pro.in.system-png	2008-10-19 15:50:34.000000000 +0200
Than Ngo e15ff8
+++ doxygen-1.5.8/src/libdoxygen.pro.in	2009-02-06 18:15:08.000000000 +0100
Than Ngo e15ff8
@@ -233,9 +233,8 @@ SOURCES      =	ce_lex.cpp \
Than Ngo e15ff8
 win32:TMAKE_CXXFLAGS       += -DQT_NODLL 
Than Ngo e15ff8
 win32-msvc:TMAKE_CXXFLAGS  += -Zm200
Than Ngo e15ff8
 win32-g++:TMAKE_CXXFLAGS   += -fno-exceptions -fno-rtti
Than Ngo e15ff8
-linux-g++:TMAKE_CXXFLAGS    += -fno-exceptions -fno-rtti
Than Ngo e15ff8
+linux-g++:TMAKE_CXXFLAGS   +=
Than Ngo e15ff8
 INCLUDEPATH                += ../qtools
Than Ngo e15ff8
-INCLUDEPATH                += ../libpng
Than Ngo e15ff8
 INCLUDEPATH                += ../libmd5
Than Ngo e15ff8
 win32:INCLUDEPATH          += .
Than Ngo e15ff8
 win32-g++:INCLUDEPATH      = ../qtools /usr/include/libpng12 ../libmd5
Than Ngo e15ff8
diff -up doxygen-1.5.8/src/pngenc.cpp.system-png doxygen-1.5.8/src/pngenc.cpp
Than Ngo e15ff8
--- doxygen-1.5.8/src/pngenc.cpp.system-png	2008-01-01 11:41:08.000000000 +0100
Than Ngo e15ff8
+++ doxygen-1.5.8/src/pngenc.cpp	2009-02-06 17:17:34.000000000 +0100
Than Ngo e15ff8
@@ -25,7 +25,7 @@
Than Ngo e15ff8
 #endif
Than Ngo e15ff8
 
Than Ngo e15ff8
 #define ALL_STATIC
Than Ngo e15ff8
-#include <../libpng/png.h>
Than Ngo e15ff8
+#include <png.h>
Than Ngo e15ff8
 #include <stdio.h>
Than Ngo e15ff8
 #include <stdlib.h>
Than Ngo e15ff8
 #include <string.h>