File: syserrlist.patch

package info (click to toggle)
metview 5.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 242,296 kB
  • sloc: cpp: 437,117; ansic: 41,433; xml: 19,944; f90: 13,059; sh: 6,562; python: 3,953; yacc: 1,774; lex: 1,121; perl: 701; makefile: 92
file content (18 lines) | stat: -rw-r--r-- 557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Replace sys_errlist[] which causes problems with FreeBSD
 and is deprecated with strerror()
Last-Updated: 2019-08-13
Forwarded: no

Index: metview-5.10.0/metview/src/Desktop/Log.cc
===================================================================
--- metview-5.10.0.orig/metview/src/Desktop/Log.cc
+++ metview-5.10.0/metview/src/Desktop/Log.cc
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <errno.h>
+#include <string.h>
 #include <inc_iostream.h>
 #include <time.h>
 #include <string.h>