diff options
Diffstat (limited to 'net-analyzer/mtr/files')
-rw-r--r-- | net-analyzer/mtr/files/mtr-0.85-gtk.patch | 40 | ||||
-rw-r--r-- | net-analyzer/mtr/files/mtr-9999-strings.patch | 12 |
2 files changed, 0 insertions, 52 deletions
diff --git a/net-analyzer/mtr/files/mtr-0.85-gtk.patch b/net-analyzer/mtr/files/mtr-0.85-gtk.patch deleted file mode 100644 index f04d2419bed8..000000000000 --- a/net-analyzer/mtr/files/mtr-0.85-gtk.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/display.c -+++ b/display.c -@@ -45,7 +45,7 @@ - #include "mtr-curses.h" - #endif - --#ifdef NO_GTK -+#if (NO_GTK == 1) - #define gtk_open() - #define gtk_close() - #define gtk_redraw() -@@ -71,7 +71,7 @@ - DisplayMode = DisplayCurses; - #endif - --#ifndef NO_GTK -+#if (NO_GTK == 0) - if(gtk_detect(argc, argv)) { - DisplayMode = DisplayGTK; - } ---- a/gtk.c -+++ b/gtk.c -@@ -26,7 +26,7 @@ - #include <sys/types.h> - #include <string.h> - --#ifndef NO_GTK -+#if (NO_GTK == 0) - #include <string.h> - #include <sys/types.h> - #include <gtk/gtk.h> -@@ -38,7 +38,7 @@ - #include "version.h" - - #include "img/mtr_icon.xpm" --#endif -+#endif /* NO_GTK == 0 */ - - gint gtk_ping(gpointer data); - gint Copy_activate(GtkWidget *widget, gpointer data); diff --git a/net-analyzer/mtr/files/mtr-9999-strings.patch b/net-analyzer/mtr/files/mtr-9999-strings.patch deleted file mode 100644 index 878382bde772..000000000000 --- a/net-analyzer/mtr/files/mtr-9999-strings.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/dns.c -+++ b/dns.c -@@ -49,7 +49,8 @@ - #include <unistd.h> - #include <fcntl.h> - //#include <ctype.h> --//#include <string.h> -+#include <string.h> -+#include <strings.h> - #include <stdio.h> - #include <stdlib.h> - #include <signal.h> |