summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2013-06-05 14:32:38 +0000
committerAndrey Grozin <grozin@gentoo.org>2013-06-05 14:32:38 +0000
commit2b5d01a199ddb4caba11ac55bfb098866cc41a59 (patch)
treed65c1285a743c584296e69f4a3285de0028a2855 /media-gfx/fotoxx/files
parentOld. (diff)
downloadhistorical-2b5d01a199ddb4caba11ac55bfb098866cc41a59.tar.gz
historical-2b5d01a199ddb4caba11ac55bfb098866cc41a59.tar.bz2
historical-2b5d01a199ddb4caba11ac55bfb098866cc41a59.zip
Version bump
Package-Manager: portage-2.2.0_alpha177/cvs/Linux i686 Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'media-gfx/fotoxx/files')
-rw-r--r--media-gfx/fotoxx/files/fotoxx-13.06.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/files/fotoxx-13.06.patch b/media-gfx/fotoxx/files/fotoxx-13.06.patch
new file mode 100644
index 000000000000..5d38be124cb4
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-13.06.patch
@@ -0,0 +1,40 @@
+diff -r -U1 fotoxx-13.03.orig/Makefile fotoxx-13.03/Makefile
+--- fotoxx-13.03.orig/Makefile 2013-03-01 13:33:56.000000000 +0700
++++ fotoxx-13.03/Makefile 2013-03-22 12:47:39.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 -Wno-deprecated-declarations
++LDFLAGS += -rdynamic
+ PREFIX ?= /usr
+@@ -15,3 +15,3 @@
+ LOCALESDIR = $(SHAREDIR)/locales
+-DOCDIR = $(PREFIX)/share/doc/fotoxx
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+@@ -19,4 +19,4 @@
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
+-LIBS = `pkg-config --libs gtk+-3.0`
++CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
++LIBS = `pkg-config --libs gtk+-3.0` -lpthread
+
+@@ -84,5 +84,2 @@
+ rm -f fotoxx.1.gz
+- # menu (desktop) file
+- cp -f desktop $(DESTDIR)$(MENUFILE)
+- xdg-desktop-menu install $(DESTDIR)$(MENUFILE)
+
+@@ -93,3 +90,2 @@
+ rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz
+- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
+ rm -f $(DESTDIR)$(MENUFILE)
+diff -r -U1 fotoxx-13.03.orig/zfuncs.cc fotoxx-13.03/zfuncs.cc
+--- fotoxx-13.03.orig/zfuncs.cc 2013-03-01 13:33:56.000000000 +0700
++++ fotoxx-13.03/zfuncs.cc 2013-03-22 12:46:16.000000000 +0700
+@@ -3917,3 +3917,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)
+