wireshark/wireshark-1.6.0-soname.patch
Jan Safranek e0d0dbd9c0 added wspy_dissectors directory to the package
enabled zlib support
tuned configure options so it's clear in wireshark's 'about' box that capabilities are used
2011-06-09 14:56:59 +02:00

18 lines
728 B
Diff

Load correct shared object name in python.
This fixes following error message shown by wireshark/tshark when wireshark-devel
was not installed:
libwireshark.so: cannot open shared object file: No such file or directory
diff -up wireshark-1.6.0/epan/wspython/wspy_libws.py.soname wireshark-1.6.0/epan/wspython/wspy_libws.py
--- wireshark-1.6.0/epan/wspython/wspy_libws.py.soname 2011-06-09 14:40:04.562726728 +0200
+++ wireshark-1.6.0/epan/wspython/wspy_libws.py 2011-06-09 14:40:09.775467946 +0200
@@ -35,7 +35,7 @@ def get_libws_libname():
elif system == "Windows":
return 'libwireshark.dll'
else:
- return 'libwireshark.so'
+ return 'libwireshark.so.1'
def get_libws_handle():
global __libwireshark