summaryrefslogtreecommitdiff
path: root/network/w3m/patches/bug_566101_Fix-DSO-X11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/w3m/patches/bug_566101_Fix-DSO-X11.patch')
-rw-r--r--network/w3m/patches/bug_566101_Fix-DSO-X11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/w3m/patches/bug_566101_Fix-DSO-X11.patch b/network/w3m/patches/bug_566101_Fix-DSO-X11.patch
new file mode 100644
index 0000000000..4f41fc885f
--- /dev/null
+++ b/network/w3m/patches/bug_566101_Fix-DSO-X11.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.old 2007-05-29 17:31:04.000000000 +0530
++++ Makefile.in 2010-02-17 14:19:08.000000000 +0530
+@@ -193,7 +193,7 @@
+ $(CC) $(CFLAGS) -DDUMMY -c -o $@ $?
+
+ $(IMGDISPLAY): w3mimgdisplay.o $(ALIB) w3mimg/w3mimg.a
+- $(CC) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
++ $(CC) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) $(IMGLDFLAGS) -lX11
+
+ w3mimgdisplay.o: w3mimgdisplay.c w3mimg/w3mimg.h
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c