pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtwebkit x11/qt5-qtwebkit: Make this build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c849d1e775f0
branches:  trunk
changeset: 371763:c849d1e775f0
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Nov 21 17:00:28 2017 +0000

description:
x11/qt5-qtwebkit: Make this build on macOS

diffstat:

 x11/qt5-qtwebkit/distinfo                                                      |   3 +-
 x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_runtime_DatePrototype.cpp |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 374f4b8ca287 -r c849d1e775f0 x11/qt5-qtwebkit/distinfo
--- a/x11/qt5-qtwebkit/distinfo Tue Nov 21 16:03:10 2017 +0000
+++ b/x11/qt5-qtwebkit/distinfo Tue Nov 21 17:00:28 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2017/04/26 10:27:43 wiz Exp $
+$NetBSD: distinfo,v 1.10 2017/11/21 17:00:28 minskim Exp $
 
 SHA1 (qtwebkit-opensource-src-5.5.1.tar.xz) = e1e16f3eb48c1ce863b9ab33364e4ac178ae51a7
 RMD160 (qtwebkit-opensource-src-5.5.1.tar.xz) = 0594ec1150f7899d72f57d8ff2f108f3f75faaf9
@@ -13,6 +13,7 @@
 SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = 2ed23192d9a4ec2c0f7b7b9a48bed664adbc7fb3
 SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = cf39645a9b61299bb7b5b700a4cf2af68aa2f9f6
 SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = 09bfdb6e63b835fb50611289d4a1c50cd18c9e37
+SHA1 (patch-Source_JavaScriptCore_runtime_DatePrototype.cpp) = b87c0e9d453d4f4d2a8fc2dac077b79ba761a62a
 SHA1 (patch-Source_JavaScriptCore_tools_CodeProfiling.cpp) = da6e2627337be1d6a4692697f23381b1bc80d08a
 SHA1 (patch-Source_QtWebKit.pro) = cfa9b6a36ce63f7655a164bbc696db2c0a44d288
 SHA1 (patch-Source_ThirdParty_ANGLE_Target.pri) = 33473cbae5e2f835b0cea6cfd5fe50f031bea60c
diff -r 374f4b8ca287 -r c849d1e775f0 x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_runtime_DatePrototype.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_runtime_DatePrototype.cpp    Tue Nov 21 17:00:28 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-Source_JavaScriptCore_runtime_DatePrototype.cpp,v 1.1 2017/11/21 17:00:28 minskim Exp $
+
+Cast ICU's UChar (char16_t) to pass as UniChar.
+
+--- Source/JavaScriptCore/runtime/DatePrototype.cpp.orig       2015-10-13 04:37:10.000000000 +0000
++++ Source/JavaScriptCore/runtime/DatePrototype.cpp
+@@ -167,7 +167,7 @@ static JSCell* formatLocaleDate(ExecStat
+     CFRelease(locale);
+ 
+     if (useCustomFormat) {
+-        CFStringRef customFormatCFString = CFStringCreateWithCharacters(0, customFormatString.characters(), customFormatString.length());
++        CFStringRef customFormatCFString = CFStringCreateWithCharacters(0, (const UniChar*)customFormatString.characters(), customFormatString.length());
+         CFDateFormatterSetFormat(formatter, customFormatCFString);
+         CFRelease(customFormatCFString);
+     }
+@@ -184,7 +184,7 @@ static JSCell* formatLocaleDate(ExecStat
+     ASSERT(length <= bufferLength);
+     if (length > bufferLength)
+         length = bufferLength;
+-    CFStringGetCharacters(string, CFRangeMake(0, length), buffer);
++    CFStringGetCharacters(string, CFRangeMake(0, length), (UniChar*)buffer);
+ 
+     CFRelease(string);
+ 



Home | Main Index | Thread Index | Old Index