summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2018-02-08 10:50:44 +0000
committermrg <mrg@pkgsrc.org>2018-02-08 10:50:44 +0000
commit219a2c06e10f76ef32f7aa44dee8439dede603e2 (patch)
treef25f5014170088196dbaf490287b22910af37e9f /x11
parentd8e0aaa618b01bef53aae65425aec0623cef8f9d (diff)
downloadpkgsrc-219a2c06e10f76ef32f7aa44dee8439dede603e2.tar.gz
instead of removing "struct tm;", include <ctime>. also, the file
is called date_object.h. fixes GCC 6 build.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs4/distinfo4
-rw-r--r--x11/kdelibs4/patches/patch-kjs_date_object.h (renamed from x11/kdelibs4/patches/patch-kjs_date__object.h)9
2 files changed, 7 insertions, 6 deletions
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo
index 937ff0b20df..750d5a9350f 100644
--- a/x11/kdelibs4/distinfo
+++ b/x11/kdelibs4/distinfo
@@ -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_ksslcertchain.cpp) = f26c2d4ac8a3a107ad5a06b71df4fd9a244fdf
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 --git a/x11/kdelibs4/patches/patch-kjs_date__object.h b/x11/kdelibs4/patches/patch-kjs_date_object.h
index 1c9d548079b..199f5043997 100644
--- a/x11/kdelibs4/patches/patch-kjs_date__object.h
+++ b/x11/kdelibs4/patches/patch-kjs_date_object.h
@@ -1,15 +1,16 @@
-$NetBSD: patch-kjs_date__object.h,v 1.1 2018/01/31 11:33:22 jperkin Exp $
+$NetBSD: patch-kjs_date_object.h,v 1.1 2018/02/08 10:50:44 mrg Exp $
-Remove bogus forward declaration.
+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,6 @@
+@@ -24,8 +24,8 @@
#include "function.h"
#include "JSWrapperObject.h"
-struct tm;
--
++#include <ctime>
+
namespace KJS {
class FunctionPrototype;