summaryrefslogtreecommitdiff
path: root/network/w3m/patches/w3m-0.5.3-underlinking.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 17:59:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:31 -0500
commitce3950f8bd373932f10584519d91491b6a485a48 (patch)
treee3f9731fac56fa57d6f1c07b29dc4a5e1f7ec8ea /network/w3m/patches/w3m-0.5.3-underlinking.patch
parent6e1757e71076dacc15716626f84611618b0f5704 (diff)
downloadslackbuilds-ce3950f8bd373932f10584519d91491b6a485a48.tar.gz
network/w3m: Added various patches.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/w3m/patches/w3m-0.5.3-underlinking.patch')
-rw-r--r--network/w3m/patches/w3m-0.5.3-underlinking.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/w3m/patches/w3m-0.5.3-underlinking.patch b/network/w3m/patches/w3m-0.5.3-underlinking.patch
new file mode 100644
index 0000000000..1b034b46cb
--- /dev/null
+++ b/network/w3m/patches/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