#! /bin/sh /usr/share/dpatch/dpatch-run ## 20_png_library.dpatch by Ilya Barygin ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Link against PNG library to fix FTBFS. @DPATCH@ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' earth3d-1.0.5~/earth3d.pro earth3d-1.0.5/earth3d.pro --- earth3d-1.0.5~/earth3d.pro 2005-10-28 05:06:01.000000000 +0400 +++ earth3d-1.0.5/earth3d.pro 2011-01-10 15:30:19.000000000 +0300 @@ -67,7 +67,7 @@ # QMAKE_CXXFLAGS_DEBUG += -D EARTH3DDEBUG -D DEBUG CONFIG += qt thread opengl warn_on release stl -# LIBS += -lglut +LIBS += -lpng # DEFINES += STATISTIC_NODECOUNT INCLUDEPATH += /usr/include/libxml2/libxml /usr/include/libxml2 ../../network/rubyAgents/c ../../dataserver /sw/include /usr/X11R6/include/ /sw/include/libxml2 geometry/ network/ draw/ tree/ ./