diff options
Diffstat (limited to 'xfce-extra/xfce4-netload-plugin/files/xfce4-netload-plugin-1.2.0-interface_name_length.patch')
-rw-r--r-- | xfce-extra/xfce4-netload-plugin/files/xfce4-netload-plugin-1.2.0-interface_name_length.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/xfce-extra/xfce4-netload-plugin/files/xfce4-netload-plugin-1.2.0-interface_name_length.patch b/xfce-extra/xfce4-netload-plugin/files/xfce4-netload-plugin-1.2.0-interface_name_length.patch deleted file mode 100644 index 685efc86adfd..000000000000 --- a/xfce-extra/xfce4-netload-plugin/files/xfce4-netload-plugin-1.2.0-interface_name_length.patch +++ /dev/null @@ -1,36 +0,0 @@ -http://bugs.gentoo.org/478454 -http://bugzilla.xfce.org/show_bug.cgi?id=9807 - ---- panel-plugin/net.h -+++ panel-plugin/net.h -@@ -29,7 +29,7 @@ - #define UP_UPDATE_INTERVAL 20 - #define IP_UPDATE_INTERVAL 20 - #define IP_ADDRESS_LENGTH 64 --#define INTERFACE_NAME_LENGTH 9 -+#define INTERFACE_NAME_LENGTH 19 - - #ifndef gettext_noop - #define gettext_noop(String) String ---- panel-plugin/netload.c -+++ panel-plugin/netload.c -@@ -51,7 +51,7 @@ - static gchar* DEFAULT_COLOR[] = { "#FF4F00", "#FFE500" }; - - #define UPDATE_TIMEOUT 250 --#define MAX_LENGTH 10 -+#define MAX_LENGTH 20 - - #define IN 0 - #define OUT 1 ---- panel-plugin/slurm.h -+++ panel-plugin/slurm.h -@@ -10,7 +10,7 @@ - #define _SLURM_H_ - - typedef struct IfData{ -- char if_name[10]; /* The device name given as start parameter*/ -+ char if_name[20]; /* The device name given as start parameter*/ - int if_speed; /* The Interface speed */ - char if_speedstring[12]; /* the measuring unit like Mbit, kbit */ - int if_id; /* The ID which the interface inside the OS has */ |