summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé María Alonso Josa <nimiux@gentoo.org>2016-03-17 12:46:07 +0100
committerJosé María Alonso Josa <nimiux@gentoo.org>2016-03-17 12:46:49 +0100
commitd56d23414fe0afeb55727b3aeb073b6ec8ad1448 (patch)
tree93295134246002f93825018ee3761e31cc807904 /app-emulation/free42/files
parentmail-client/thunderbird: ppc64 stable wrt bug #576862 (diff)
downloadgentoo-d56d23414fe0afeb55727b3aeb073b6ec8ad1448.tar.gz
gentoo-d56d23414fe0afeb55727b3aeb073b6ec8ad1448.tar.bz2
gentoo-d56d23414fe0afeb55727b3aeb073b6ec8ad1448.zip
app-emulation/free42: Bump to version 1.5.7
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-emulation/free42/files')
-rw-r--r--app-emulation/free42/files/free42-1.5.7-fix-makefile.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/free42/files/free42-1.5.7-fix-makefile.patch b/app-emulation/free42/files/free42-1.5.7-fix-makefile.patch
new file mode 100644
index 000000000000..ebb99c9d0c1e
--- /dev/null
+++ b/app-emulation/free42/files/free42-1.5.7-fix-makefile.patch
@@ -0,0 +1,34 @@
+diff -Nuar a/gtk/Makefile b/gtk/Makefile
+--- a/gtk/Makefile 2016-02-28 20:14:13.000000000 +0100
++++ b/gtk/Makefile 2016-03-17 12:39:42.679999704 +0100
+@@ -19,7 +19,6 @@
+ -Wall \
+ -Wno-parentheses \
+ -Wno-write-strings \
+- -g \
+ -I/usr/X11R6/include \
+ -fno-exceptions \
+ -fno-rtti \
+@@ -30,18 +29,14 @@
+ -DDECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS=1 \
+ -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \
+ -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 \
+- -D_WCHAR_T_DEFINED
++ -D_WCHAR_T_DEFINED \
++ ${CXXFLAGS}
+
+-LDFLAGS = -L/usr/X11R6/lib
++LDFLAGS := -L/usr/X11R6/lib ${LDFLAGS}
+ ifeq "$(shell uname -s)" "Darwin"
+ LIBS := gcc111libbid-mac-x64.a -lXmu $(shell pkg-config --libs gtk+-2.0)
+ else
+-LIBS := gcc111libbid-$(shell uname -m).a -lXmu $(shell pkg-config --libs gtk+-2.0)
+-endif
+-
+-ifeq "$(shell uname -s)" "Linux"
+-LDFLAGS += -Wl,--hash-style=both
+-LIBS += -lpthread
++LIBS := gcc111libbid-$(shell uname -m).a -lXmu -lX11 -ldl -lpthread $(shell pkg-config --libs gtk+-2.0)
+ endif
+
+ SRCS = shell_main.cc shell_skin.cc skins.cc keymap.cc shell_loadimage.cc \