Blame wireshark-1.4.0-doc-path.patch

Jan Safranek 771ef2
635878: wireshark supplied filter manpage is empty
Jan Safranek 771ef2
Jan Safranek 771ef2
tshark as executed by doc/Makefile tends to link with existing libraries in
Jan Safranek 771ef2
/usr/lib instead of just compiled libraries.
Jan Safranek 771ef2
Jan Safranek 771ef2
Point the linker to the right place using LD_LIBRARY_PATH.
Jan Safranek 771ef2
Jan Safranek 771ef2
diff -up wireshark-1.4.0/doc/Makefile.in.orig wireshark-1.4.0/doc/Makefile.in
Jan Safranek 771ef2
--- wireshark-1.4.0/doc/Makefile.in.orig	2010-08-30 00:19:25.000000000 +0200
Jan Safranek 771ef2
+++ wireshark-1.4.0/doc/Makefile.in	2010-09-24 14:54:47.857565183 +0200
Jan Safranek 771ef2
@@ -835,7 +835,7 @@ wireshark-filter.html: wireshark-filter.
Jan Safranek 771ef2
 	wireshark-filter.pod > wireshark-filter.html
Jan Safranek 771ef2
 
Jan Safranek 771ef2
 wireshark-filter.pod: wireshark-filter.pod.template  ../tshark
Jan Safranek 771ef2
-	WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ../tshark -G fields | \
Jan Safranek 771ef2
+	WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 LD_LIBRARY_PATH=../epan/.libs ../tshark -G fields | \
Jan Safranek 771ef2
 	$(PERL) $(srcdir)/dfilter2pod.pl $(srcdir)/wireshark-filter.pod.template > wireshark-filter.pod
Jan Safranek 771ef2
 
Jan Safranek 771ef2
 capinfos.1: capinfos.pod ../config.h