summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-02-04 15:06:15 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-02-04 15:06:15 +0000
commit32a65d1e2ea4d1ef121a5d255d1131fde8a95635 (patch)
treeb9bd69f1a407316ee2c1fba17c3088f932d61a73 /media-gfx/fotoxx/files/fotoxx-12.02.patch
parentFix maintainer's email in metadata (diff)
downloadgentoo-2-32a65d1e2ea4d1ef121a5d255d1131fde8a95635.tar.gz
gentoo-2-32a65d1e2ea4d1ef121a5d255d1131fde8a95635.tar.bz2
gentoo-2-32a65d1e2ea4d1ef121a5d255d1131fde8a95635.zip
Version bump
(Portage version: 2.2.0_alpha84/cvs/Linux i686)
Diffstat (limited to 'media-gfx/fotoxx/files/fotoxx-12.02.patch')
-rw-r--r--media-gfx/fotoxx/files/fotoxx-12.02.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/files/fotoxx-12.02.patch b/media-gfx/fotoxx/files/fotoxx-12.02.patch
new file mode 100644
index 000000000000..b702a2550320
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-12.02.patch
@@ -0,0 +1,34 @@
+diff -r -U1 fotoxx-12.02.orig/Makefile fotoxx-12.02/Makefile
+--- fotoxx-12.02.orig/Makefile 2012-01-30 03:31:53.000000000 +0700
++++ fotoxx-12.02/Makefile 2012-02-04 21:39:45.000000000 +0700
+@@ -5,4 +5,4 @@
+ # defaults for parameters that may be pre-defined
+-CXXFLAGS ?= -O3 -g -Wall
+-LDFLAGS ?= -O3 -g -Wall -rdynamic
++CXXFLAGS += -Wall
++LDFLAGS += -rdynamic
+ PREFIX ?= /usr
+@@ -14,3 +14,3 @@
+ LOCALESDIR = $(SHAREDIR)/locales
+-DOCDIR = $(PREFIX)/share/doc/fotoxx
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+@@ -18,3 +18,3 @@
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
++CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
+ LIBS = `pkg-config --libs gtk+-3.0`
+@@ -77,5 +77,2 @@
+ rm -f fotoxx.1.gz
+- # menu (desktop) file
+- cp -f desktop $(DESTDIR)$(MENUFILE)
+- xdg-desktop-menu install $(DESTDIR)$(MENUFILE)
+
+diff -r -U1 fotoxx-12.02.orig/zfuncs.cc fotoxx-12.02/zfuncs.cc
+--- fotoxx-12.02.orig/zfuncs.cc 2012-01-30 03:31:53.000000000 +0700
++++ fotoxx-12.02/zfuncs.cc 2012-02-04 21:41:25.000000000 +0700
+@@ -3169,3 +3169,3 @@
+ strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /prefix/share/appname/locales
+- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /prefix/share/doc/appname
++ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /prefix/share/doc/${PF}
+