diff options
Diffstat (limited to 'math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h')
-rw-r--r-- | math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h b/math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h new file mode 100644 index 00000000000..cd4f983b5ad --- /dev/null +++ b/math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h @@ -0,0 +1,15 @@ +$NetBSD: patch-liboctave_wrappers_strftime-wrapper.h,v 1.1 2016/11/19 21:53:12 maya Exp $ + +Don't have struct tm_zone (in netbsd), instead use timezone_t as libgnu does + +--- liboctave/wrappers/strftime-wrapper.h.orig 2016-11-13 15:16:10.000000000 +0000 ++++ liboctave/wrappers/strftime-wrapper.h +@@ -35,7 +35,7 @@ extern "C" { + + extern size_t + octave_strftime_wrapper (char *buf, size_t len, const char *fmt, +- const struct tm *t, struct tm_zone *tz, int ns); ++ const struct tm *t, timezone_t *tz, int ns); + + #if defined __cplusplus + } |