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

844b61
From ec02325332d4e198b1ccd6955ed6a489a5a7c826 Mon Sep 17 00:00:00 2001
1444df
From: Jan Safranek <jsafrane@redhat.com>
1444df
Date: Thu, 9 Jun 2011 14:56:59 +0200
6533a7
Subject: [PATCH 3/7] 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
1444df
---
1444df
 epan/wspython/wspy_libws.py | 2 +-
1444df
 1 file changed, 1 insertion(+), 1 deletion(-)
Jan Safranek e0d0db
1444df
diff --git a/epan/wspython/wspy_libws.py b/epan/wspython/wspy_libws.py
1444df
index a293a17..73ce012 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'
Jan Safranek 2accc8
+    return 'libwireshark.so.2'
Jan Safranek e0d0db
 
Jan Safranek e0d0db
 def get_libws_handle():
Jan Safranek e0d0db
   global __libwireshark
1444df
-- 
1444df
1.8.3.1
1444df