diff options
Diffstat (limited to 'cad/pcb/patches')
-rw-r--r-- | cad/pcb/patches/patch-aa | 17 | ||||
-rw-r--r-- | cad/pcb/patches/patch-src_report.c | 12 |
2 files changed, 12 insertions, 17 deletions
diff --git a/cad/pcb/patches/patch-aa b/cad/pcb/patches/patch-aa deleted file mode 100644 index ceabc36ed76..00000000000 --- a/cad/pcb/patches/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2011/12/09 12:42:10 dmcmahill Exp $ - -Add missing header file needed for setlocale() prototype as well as LC_ALL - ---- src/main.c.orig 2011-09-17 21:29:29.000000000 +0000 -+++ src/main.c -@@ -33,6 +33,10 @@ - #include "config.h" - #endif - -+#ifdef HAVE_LOCALE_H -+#include <locale.h> -+#endif -+ - #include <stdlib.h> - #ifdef HAVE_STRING_H - #include <string.h> diff --git a/cad/pcb/patches/patch-src_report.c b/cad/pcb/patches/patch-src_report.c new file mode 100644 index 00000000000..1dda69d1bd9 --- /dev/null +++ b/cad/pcb/patches/patch-src_report.c @@ -0,0 +1,12 @@ +$Id: patch-src_report.c,v 1.1 2016/01/22 21:56:37 dmcmahill Exp $ + +--- src/report.c.orig 2014-03-10 23:09:51.000000000 -0400 ++++ src/report.c 2016-01-22 10:05:47.000000000 -0500 +@@ -32,4 +32,7 @@ + #endif + ++#ifdef HAVE_LOCALE_H ++#include <locale.h> /* setlocale() and LC_ALL */ ++#endif + #include <math.h> + |