pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libprelude libprelude: Don't break std::mktime.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc83faaa21f4
branches:  trunk
changeset: 374913:fc83faaa21f4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 31 12:55:29 2018 +0000

description:
libprelude: Don't break std::mktime.

diffstat:

 security/libprelude/distinfo                  |   3 ++-
 security/libprelude/patches/patch-config.h.in |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 369075df031d -r fc83faaa21f4 security/libprelude/distinfo
--- a/security/libprelude/distinfo      Wed Jan 31 12:36:57 2018 +0000
+++ b/security/libprelude/distinfo      Wed Jan 31 12:55:29 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2017/09/12 06:04:47 dholland Exp $
+$NetBSD: distinfo,v 1.41 2018/01/31 12:55:29 jperkin Exp $
 
 SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
 RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
@@ -20,5 +20,6 @@
 SHA1 (patch-ba) = 333d6e3f842d80888be0cec3921417fe51a027bc
 SHA1 (patch-bb) = ca80e503226a2e1adcc0976597a225a51a74b8f9
 SHA1 (patch-bindings_low_level_perl_Prelude.c) = 919ad0340f590365857fe7495c9d6dfa3540c0cf
+SHA1 (patch-config.h.in) = 11b1031ece55e086dcf9ff94f32b9321fe92bd48
 SHA1 (patch-src_include_prelude-plugin.h) = 4731b98059971577819906d84fe7f160c24c04f5
 SHA1 (patch-src_libprelude-error_Makefile.in) = 43c3e4cb2ff9fcc617f537d54063e0b5d507083f
diff -r 369075df031d -r fc83faaa21f4 security/libprelude/patches/patch-config.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libprelude/patches/patch-config.h.in     Wed Jan 31 12:55:29 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-config.h.in,v 1.1 2018/01/31 12:55:29 jperkin Exp $
+
+Don't break std::mktime.
+
+--- config.h.in.orig   2009-08-11 15:05:50.000000000 +0000
++++ config.h.in
+@@ -957,7 +957,9 @@
+ #undef mbstate_t
+ 
+ /* Define to rpl_mktime if the replacement function should be used. */
++#if !defined(__cplusplus)
+ #undef mktime
++#endif
+ 
+ /* Define to the type of st_nlink in struct stat, or a supertype. */
+ #undef nlink_t



Home | Main Index | Thread Index | Old Index