pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kdelibs4 instead of removing "struct tm; ", include...
details: https://anonhg.NetBSD.org/pkgsrc/rev/adfa05ce0d24
branches: trunk
changeset: 375303:adfa05ce0d24
user: mrg <mrg%pkgsrc.org@localhost>
date: Thu Feb 08 10:50:44 2018 +0000
description:
instead of removing "struct tm;", include <ctime>. also, the file
is called date_object.h. fixes GCC 6 build.
diffstat:
x11/kdelibs4/distinfo | 4 ++--
x11/kdelibs4/patches/patch-kjs_date__object.h | 15 ---------------
x11/kdelibs4/patches/patch-kjs_date_object.h | 16 ++++++++++++++++
3 files changed, 18 insertions(+), 17 deletions(-)
diffs (57 lines):
diff -r c47590f2e4c5 -r adfa05ce0d24 x11/kdelibs4/distinfo
--- a/x11/kdelibs4/distinfo Thu Feb 08 09:43:32 2018 +0000
+++ b/x11/kdelibs4/distinfo Thu Feb 08 10:50:44 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2018/01/31 11:33:22 jperkin Exp $
+$NetBSD: distinfo,v 1.53 2018/02/08 10:50:44 mrg Exp $
SHA1 (kdelibs-4.14.38.tar.xz) = 2271f8b38cd5b6b55fa31c567271e3ca37ef641a
RMD160 (kdelibs-4.14.38.tar.xz) = edf16e14842237950655bf44c073070c5bb7d74b
@@ -31,7 +31,7 @@
SHA1 (patch-kio_kssl_ksslcertificate.cpp) = 177546af1bf2a770d7bb6650f7a4a1dca6f8f716
SHA1 (patch-kio_kssl_ksslutils.cpp) = 359075855a8582693e5e4fab9aa5ad5afbe7b4a1
SHA1 (patch-kjs_JSImmediate.h) = ecc761c7c82f711f41cf47d706c1c22d22c2980a
-SHA1 (patch-kjs_date__object.h) = adc33e9cb8317cb07929bec4d153fc58efa550ea
+SHA1 (patch-kjs_date_object.h) = 25b636930f9d5055a9ce3e760e179e0816abea6a
SHA1 (patch-kjs_interpreter.cpp) = 9d400daf7d96674b8d66e1cde46dcb3615635241
SHA1 (patch-kjs_wtf_DisallowCType.h) = 6305dd274f1478ba0fe0a6f1717451ab8e3e50d2
SHA1 (patch-kpty_kpty.cpp) = e8fd2e7c88b8926cf5bf12deea9e6af08e0739d8
diff -r c47590f2e4c5 -r adfa05ce0d24 x11/kdelibs4/patches/patch-kjs_date__object.h
--- a/x11/kdelibs4/patches/patch-kjs_date__object.h Thu Feb 08 09:43:32 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-kjs_date__object.h,v 1.1 2018/01/31 11:33:22 jperkin Exp $
-
-Remove bogus forward declaration.
-
---- kjs/date_object.h.orig 2017-11-05 01:51:22.000000000 +0000
-+++ kjs/date_object.h
-@@ -24,8 +24,6 @@
- #include "function.h"
- #include "JSWrapperObject.h"
-
--struct tm;
--
- namespace KJS {
-
- class FunctionPrototype;
diff -r c47590f2e4c5 -r adfa05ce0d24 x11/kdelibs4/patches/patch-kjs_date_object.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdelibs4/patches/patch-kjs_date_object.h Thu Feb 08 10:50:44 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-kjs_date_object.h,v 1.1 2018/02/08 10:50:44 mrg Exp $
+
+Replace bogus forward declaration with <ctime> include.
+
+--- kjs/date_object.h.orig 2017-11-05 01:51:22.000000000 +0000
++++ kjs/date_object.h
+@@ -24,8 +24,8 @@
+ #include "function.h"
+ #include "JSWrapperObject.h"
+
+-struct tm;
++#include <ctime>
+
+ namespace KJS {
+
+ class FunctionPrototype;
Home |
Main Index |
Thread Index |
Old Index