summaryrefslogtreecommitdiff
path: root/net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch')
-rw-r--r--net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch b/net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch
new file mode 100644
index 000000000000..7a89ce111e9a
--- /dev/null
+++ b/net-analyzer/netwatch/files/netwatch-1.3.0.1-lto-mismatch.patch
@@ -0,0 +1,8 @@
+Fix failure with -Werror=lto-type-mismatch
+--- a/dispdata.c
++++ b/dispdata.c
+@@ -96,3 +96,3 @@
+ #define MAXSTATUS 14
+-#define STATUSSIZE 200
++#define STATUSSIZE 256
+ extern char status_lines[MAXSTATUS][STATUSSIZE];