Blame wireshark-0003-Load-correct-shared-object-name-in-python.patch

1444df
From: Jan Safranek <jsafrane@redhat.com>
1444df
Date: Thu, 9 Jun 2011 14:56:59 +0200
173888
Subject: [PATCH] Load correct shared object name in python.
1444df
Jan Safranek e0d0db
This fixes following error message shown by wireshark/tshark when wireshark-devel
Jan Safranek e0d0db
was not installed:
Jan Safranek e0d0db
   libwireshark.so: cannot open shared object file: No such file or directory
Jan Safranek e0d0db
1444df
diff --git a/epan/wspython/wspy_libws.py b/epan/wspython/wspy_libws.py
61af30
index a293a17..0c528e4 100755
1444df
--- a/epan/wspython/wspy_libws.py
1444df
+++ b/epan/wspython/wspy_libws.py
Jan Safranek e0d0db
@@ -35,7 +35,7 @@ def get_libws_libname():
Jan Safranek e0d0db
   elif system == "Windows":
Jan Safranek e0d0db
     return 'libwireshark.dll'
Jan Safranek e0d0db
   else:
Jan Safranek e0d0db
-    return 'libwireshark.so'
61af30
+    return 'libwireshark.so.3'
Jan Safranek e0d0db
 
Jan Safranek e0d0db
 def get_libws_handle():
Jan Safranek e0d0db
   global __libwireshark