SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
math/labplot/patches/patch-src_backend_gsl_parser_y
Normal file
15
math/labplot/patches/patch-src_backend_gsl_parser_y
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: src/backend/gsl/parser.y
|
||||
--- src/backend/gsl/parser.y.orig
|
||||
+++ src/backend/gsl/parser.y
|
||||
@@ -355,7 +355,11 @@ int yylex(param *p) {
|
||||
#endif
|
||||
double result;
|
||||
if (locale != NULL) {
|
||||
+#if defined(__OpenBSD__)
|
||||
+ result = strtod(s, &remain);
|
||||
+#else
|
||||
result = strtod_l(s, &remain, locale);
|
||||
+#endif
|
||||
freelocale(locale);
|
||||
} else // use C locale
|
||||
result = strtod(s, &remain);
|
Loading…
Add table
Add a link
Reference in a new issue