summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-09-14 15:56:54 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-09-14 15:56:54 +0000
commit43528db05fe221eab05daa6a55b8a4fd23e5ec66 (patch)
treec2ceb2a61a3a8a8eefb5d929a9601e22cad0ffea /media-gfx/fotoxx/files
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-43528db05fe221eab05daa6a55b8a4fd23e5ec66.tar.gz
gentoo-2-43528db05fe221eab05daa6a55b8a4fd23e5ec66.tar.bz2
gentoo-2-43528db05fe221eab05daa6a55b8a4fd23e5ec66.zip
Version bump
(Portage version: 2.2_rc80/cvs/Linux i686)
Diffstat (limited to 'media-gfx/fotoxx/files')
-rw-r--r--media-gfx/fotoxx/files/fotoxx-10.9.1-makefile.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/files/fotoxx-10.9.1-makefile.patch b/media-gfx/fotoxx/files/fotoxx-10.9.1-makefile.patch
new file mode 100644
index 000000000000..4337f14fcfc2
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-10.9.1-makefile.patch
@@ -0,0 +1,35 @@
+diff -U1 -r fotoxx-10.9.1.orig//Makefile fotoxx-10.9.1//Makefile
+--- fotoxx-10.9.1.orig//Makefile 2010-09-09 18:12:15.000000000 +0700
++++ fotoxx-10.9.1//Makefile 2010-09-15 06:25:29.000000000 +0700
+@@ -7,8 +7,8 @@
+ # defaults for parameters that may be pre-defined
+-CXXFLAGS ?= -O3 -g -Wall
+-LDFLAGS ?= -O3 -g -Wall -rdynamic
++CXXFLAGS += -Wall
++LDFLAGS += -rdynamic
+ PREFIX ?= /usr/local
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
+-LFLAGS = $(LDFLAGS) `pkg-config --libs gtk+-2.0 gthread-2.0`
++CXXFLAGS += -c `pkg-config --cflags gtk+-2.0`
++LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
+
+@@ -16,3 +16,3 @@
+ DATADIR = $(PREFIX)/share/$(PROGRAM)
+-DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+@@ -23,6 +23,6 @@
+ @ ./dependencies.sh
+- $(CXX) $(LFLAGS) -ltiff -o $(PROGRAM) $(PROGRAM).o zfuncs.o
++ $(CXX) $(LDFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o -ltiff $(LIBS)
+
+ $(PROGRAM).o: $(SOURCE)
+- $(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
++ $(CXX) $(CXXFLAGS) -o $(PROGRAM).o $(SOURCE) \
+ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
+@@ -30,3 +30,3 @@
+ zfuncs.o: zfuncs.cc
+- $(CXX) $(CFLAGS) zfuncs.cc \
++ $(CXX) $(CXXFLAGS) zfuncs.cc \
+ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\""