summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch')
-rw-r--r--net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch b/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch
new file mode 100644
index 000000000000..96036dd629e9
--- /dev/null
+++ b/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch
@@ -0,0 +1,13 @@
+--- a/src/terminal.c
++++ b/src/terminal.c
+@@ -190,7 +190,9 @@
+ #endif
+
+ pthread_mutex_destroy(&terms->admin_listen_th.finished);
++#ifdef HAS_CURSES
+ pthread_mutex_destroy(&terms->gui_th.finished);
++#endif
+ pthread_mutex_destroy(&terms->pcap_listen_th.finished);
+ pthread_mutex_destroy(&terms->uptime_th.finished);
+
+