pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave/patches Remove unused patches.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b032b70dcbd
branches:  trunk
changeset: 311473:7b032b70dcbd
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Aug 12 08:35:42 2018 +0000

description:
Remove unused patches.

diffstat:

 math/octave/patches/patch-libinterp_build-env.in.cc             |  13 ------
 math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.c |  19 ----------
 math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h |  19 ----------
 3 files changed, 0 insertions(+), 51 deletions(-)

diffs (63 lines):

diff -r 198b1dcccc83 -r 7b032b70dcbd math/octave/patches/patch-libinterp_build-env.in.cc
--- a/math/octave/patches/patch-libinterp_build-env.in.cc       Sun Aug 12 08:34:20 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-libinterp_build-env.in.cc,v 1.1 2016/11/19 21:53:12 maya Exp $
-
---- libinterp/build-env.in.cc.orig     2016-11-13 15:16:10.000000000 +0000
-+++ libinterp/build-env.in.cc
-@@ -305,7 +305,7 @@ namespace octave
- 
-     const char *Z_LIBS = %OCTAVE_CONF_Z_LIBS%;
- 
--    const char *config_opts = %OCTAVE_CONF_config_opts%;
-+    const char *config_opts = "";
-   }
- }
- 
diff -r 198b1dcccc83 -r 7b032b70dcbd math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.c
--- a/math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.c   Sun Aug 12 08:34:20 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-liboctave_wrappers_strftime-wrapper.c,v 1.2 2017/03/15 11:33:03 maya Exp $
-
-Octave's wrapper breaks gnulib portability, netbsd doesn't have struct tm_zone,
-use ifdefs to work around it
-
---- liboctave/wrappers/strftime-wrapper.c.orig 2016-11-13 15:16:10.000000000 +0000
-+++ liboctave/wrappers/strftime-wrapper.c
-@@ -36,7 +36,11 @@ along with Octave; see the file COPYING.
- 
- size_t
- octave_strftime_wrapper (char *buf, size_t len, const char *fmt,
-+#ifdef __NetBSD__
-+                         const struct tm *t, timezone_t *tz, int ns)
-+#else
-                          const struct tm *t, struct tm_zone *tz, int ns)
-+#endif
- {
-   return nstrftime (buf, len, fmt, t, tz, ns);
- }
diff -r 198b1dcccc83 -r 7b032b70dcbd math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h
--- a/math/octave/patches/patch-liboctave_wrappers_strftime-wrapper.h   Sun Aug 12 08:34:20 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-liboctave_wrappers_strftime-wrapper.h,v 1.2 2017/03/15 11:33:03 maya Exp $
-
-Octave's wrapper breaks gnulib portability, netbsd doesn't have struct tm_zone,
-use ifdefs to work around it
-
---- liboctave/wrappers/strftime-wrapper.h.orig 2016-11-13 15:16:10.000000000 +0000
-+++ liboctave/wrappers/strftime-wrapper.h
-@@ -35,7 +35,11 @@ extern "C" {
- 
- extern size_t
- octave_strftime_wrapper (char *buf, size_t len, const char *fmt,
-+#ifdef __NetBSD__
-+                         const struct tm *t, timezone_t *tz, int ns);
-+#else
-                          const struct tm *t, struct tm_zone *tz, int ns);
-+#endif
- 
- #if defined __cplusplus
- }



Home | Main Index | Thread Index | Old Index