summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-01-17 13:28:22 +0100
committerJeroen Roovers <jer@gentoo.org>2020-01-17 13:29:13 +0100
commitd457c61eaff3a06ce2a2c6903f4f389330d7b8a4 (patch)
tree9688a75d0a302cece0aa0d024cf97ece72b99ec9 /net-analyzer/wireshark/files
parentmedia-libs/lv2: ia64 stable wrt bug #705616 (diff)
downloadgentoo-d457c61eaff3a06ce2a2c6903f4f389330d7b8a4.tar.gz
gentoo-d457c61eaff3a06ce2a2c6903f4f389330d7b8a4.tar.bz2
gentoo-d457c61eaff3a06ce2a2c6903f4f389330d7b8a4.zip
net-analyzer/wireshark: Fix USE='-lua -plugins'
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/705656 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/wireshark/files')
-rw-r--r--net-analyzer/wireshark/files/wireshark-99999999-about_dialog-plugins_add_description.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-99999999-about_dialog-plugins_add_description.patch b/net-analyzer/wireshark/files/wireshark-99999999-about_dialog-plugins_add_description.patch
new file mode 100644
index 00000000000..5506c6ec2ad
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-99999999-about_dialog-plugins_add_description.patch
@@ -0,0 +1,18 @@
+--- a/ui/qt/about_dialog.cpp
++++ b/ui/qt/about_dialog.cpp
+@@ -112,7 +112,6 @@ QStringList AuthorListModel::headerColumns() const
+ return QStringList() << tr("Name") << tr("Email");
+ }
+
+-#if defined(HAVE_PLUGINS) || defined(HAVE_LUA)
+ static void plugins_add_description(const char *name, const char *version,
+ const char *types, const char *filename,
+ void *user_data)
+@@ -121,7 +120,6 @@ static void plugins_add_description(const char *name, const char *version,
+ QStringList plugin_row = QStringList() << name << version << types << filename;
+ *plugin_data << plugin_row;
+ }
+-#endif
+
+ PluginListModel::PluginListModel(QObject * parent) : AStringListListModel(parent)
+ {