Blame doxygen-1.5.5-system-png.patch

Than Ngo 87c256
diff -up doxygen-1.5.5/Makefile.in.me doxygen-1.5.5/Makefile.in
Than Ngo 87c256
--- doxygen-1.5.5/Makefile.in.me	2008-02-20 14:36:50.000000000 +0100
Than Ngo 87c256
+++ doxygen-1.5.5/Makefile.in	2008-02-20 14:37:12.000000000 +0100
Than Ngo 87c256
@@ -7,7 +7,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 87c256
@@ -18,7 +17,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 87c256
@@ -32,11 +30,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 87c256
 	-rm -f addon/doxywizard/Makefile.doxywizard
Than Ngo 87c256
@@ -83,7 +80,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 87c256
diff -up doxygen-1.5.5/configure.me doxygen-1.5.5/configure
Than Ngo 87c256
--- doxygen-1.5.5/configure.me	2008-02-20 14:35:56.000000000 +0100
Than Ngo 87c256
+++ doxygen-1.5.5/configure	2008-02-20 14:36:42.000000000 +0100
Than Ngo 87c256
@@ -540,7 +540,7 @@ TMAKE_CXXFLAGS += -DENGLISH_ONLY
Than Ngo 87c256
 EOF
Than Ngo 87c256
 fi
Than Ngo 87c256
 
Than Ngo 87c256
-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 87c256
+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 87c256
 
Than Ngo 87c256
 for i in $f_inmakefiles ; do
Than Ngo 87c256
      SRC=$i
Than Ngo 87c256
@@ -557,7 +557,6 @@ EOF
Than Ngo 87c256
        echo "" >> $DST
Than Ngo 87c256
        echo "all: src/version.cpp " >> $DST
Than Ngo 87c256
        echo "	\$(MAKE) -C qtools" >> $DST
Than Ngo 87c256
-       echo "	\$(MAKE) -C libpng" >> $DST
Than Ngo 87c256
        echo "	\$(MAKE) -C libmd5" >> $DST
Than Ngo 87c256
        echo "	\$(MAKE) -C src" >> $DST
Than Ngo 87c256
        if test $f_wizard = YES; then
Than Ngo 87c256
@@ -577,7 +576,7 @@ EOF
Than Ngo 87c256
      echo "  Created $DST from $SRC..."
Than Ngo 87c256
 done
Than Ngo 87c256
 
Than Ngo 87c256
-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 87c256
+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 87c256
 
Than Ngo 87c256
 for i in $f_inprofiles ; do
Than Ngo 87c256
      SRC=$i
Than Ngo 87c256
diff -up doxygen-1.5.5/src/pngenc.cpp.me doxygen-1.5.5/src/pngenc.cpp
Than Ngo 87c256
--- doxygen-1.5.5/src/pngenc.cpp.me	2008-02-20 14:38:46.000000000 +0100
Than Ngo 87c256
+++ doxygen-1.5.5/src/pngenc.cpp	2008-02-20 14:39:11.000000000 +0100
Than Ngo 87c256
@@ -25,7 +25,7 @@
Than Ngo 87c256
 #endif
Than Ngo 87c256
 
Than Ngo 87c256
 #define ALL_STATIC
Than Ngo 87c256
-#include <../libpng/png.h>
Than Ngo 87c256
+#include <png.h>
Than Ngo 87c256
 #include <stdio.h>
Than Ngo 87c256
 #include <stdlib.h>
Than Ngo 87c256
 #include <string.h>
Than Ngo 87c256
diff -up doxygen-1.5.5/src/libdoxygen.pro.in.me doxygen-1.5.5/src/libdoxygen.pro.in
Than Ngo 87c256
--- doxygen-1.5.5/src/libdoxygen.pro.in.me	2008-02-20 14:38:08.000000000 +0100
Than Ngo 87c256
+++ doxygen-1.5.5/src/libdoxygen.pro.in	2008-02-20 14:38:29.000000000 +0100
Than Ngo 87c256
@@ -224,7 +224,6 @@ win32-msvc:TMAKE_CXXFLAGS  += -Zm200
Than Ngo 87c256
 win32-g++:TMAKE_CXXFLAGS   += -fno-exceptions -fno-rtti
Than Ngo 87c256
 linux-g++:TMAKE_CXXFLAGS    += -fno-exceptions -fno-rtti
Than Ngo 87c256
 INCLUDEPATH                += ../qtools
Than Ngo 87c256
-INCLUDEPATH                += ../libpng
Than Ngo 87c256
 INCLUDEPATH                += ../libmd5
Than Ngo 87c256
 win32:INCLUDEPATH          += .
Than Ngo 87c256
 win32-g++:INCLUDEPATH      = ../qtools /usr/include/libpng12 ../libmd5
Than Ngo 87c256
diff -up doxygen-1.5.5/src/doxygen.pro.in.me doxygen-1.5.5/src/doxygen.pro.in
Than Ngo 87c256
--- doxygen-1.5.5/src/doxygen.pro.in.me	2008-02-20 14:37:34.000000000 +0100
Than Ngo 87c256
+++ doxygen-1.5.5/src/doxygen.pro.in	2008-02-20 14:37:54.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