SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
graphics/ipe/patches/patch-src_ipelib_ipeplatform_cpp
Normal file
22
graphics/ipe/patches/patch-src_ipelib_ipeplatform_cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
Index: src/ipelib/ipeplatform.cpp
|
||||
--- src/ipelib/ipeplatform.cpp.orig
|
||||
+++ src/ipelib/ipeplatform.cpp
|
||||
@@ -49,6 +49,9 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/errno.h>
|
||||
#endif
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <errno.h>
|
||||
+#endif
|
||||
|
||||
#ifdef IPE_GSL
|
||||
#include <gsl/gsl_errno.h>
|
||||
@@ -671,6 +674,8 @@ static double ipestrtod(const char *s, char ** fin)
|
||||
return p_strtod_l(s, fin, ipeLocale);
|
||||
else
|
||||
return strtod(s, fin);
|
||||
+#elif defined(__OpenBSD__)
|
||||
+ return strtod(s, fin);
|
||||
#else
|
||||
return strtod_l(s, fin, ipeLocale);
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue