summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-05-20 00:25:23 +0000
committerNaohiro Aota <naota@gentoo.org>2012-05-20 00:25:23 +0000
commit932bcac633f8bb9c4e7bcb471124ca1c9d5cf9ec (patch)
tree6fa81f1e8a3c0fade7b86788019572f775858c97 /www-client/w3m/files
parentVersion bump for gnome-3.4; panel applet support is now completely gone. (diff)
downloadgentoo-2-932bcac633f8bb9c4e7bcb471124ca1c9d5cf9ec.tar.gz
gentoo-2-932bcac633f8bb9c4e7bcb471124ca1c9d5cf9ec.tar.bz2
gentoo-2-932bcac633f8bb9c4e7bcb471124ca1c9d5cf9ec.zip
Add patch to link missing libX11. #416539
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'www-client/w3m/files')
-rw-r--r--www-client/w3m/files/w3m-0.5.3-underlinking.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/www-client/w3m/files/w3m-0.5.3-underlinking.patch b/www-client/w3m/files/w3m-0.5.3-underlinking.patch
new file mode 100644
index 000000000000..1b034b46cb13
--- /dev/null
+++ b/www-client/w3m/files/w3m-0.5.3-underlinking.patch
@@ -0,0 +1,15 @@
+Description: Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5
+Author: Martin Pitt <martin.pitt@ubuntu.com>
+Bug: https://sourceforge.net/tracker/?func=detail&aid=3126430&group_id=39518&atid=425441
+
+--- w3m-0.5.3.orig/Makefile.in 2011-01-04 18:22:18.000000000 +0900
++++ w3m-0.5.3/Makefile.in 2011-02-06 12:05:40.000000000 +0900
+@@ -199,7 +199,7 @@
+ $(CC) $(CFLAGS) -DDUMMY -c -o $@ $?
+
+ $(IMGDISPLAY): w3mimgdisplay.o $(ALIB) w3mimg/w3mimg.a
+- $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
++ $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) -lX11 $(IMGLDFLAGS)
+
+ w3mimgdisplay.o: w3mimgdisplay.c w3mimg/w3mimg.h
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c