nodejs-7.9.0:Version Bump
This commit is contained in:
@@ -0,0 +1,63 @@
|
|||||||
|
Index: src/i18n.cc
|
||||||
|
diff --git a/deps/v8/src/i18n.cc b/deps/v8/src/i18n.cc
|
||||||
|
index d2245ef34a9a319a53b4cf4b4ea05ec095fef2d5..7c22871ff5e440f771659d44a0db013b34ec2105 100644
|
||||||
|
--- a/deps/v8/src/i18n.cc
|
||||||
|
+++ b/deps/v8/src/i18n.cc
|
||||||
|
@@ -30,8 +30,13 @@
|
||||||
|
#include "unicode/ucol.h"
|
||||||
|
#include "unicode/ucurr.h"
|
||||||
|
#include "unicode/unum.h"
|
||||||
|
+#include "unicode/uvernum.h"
|
||||||
|
#include "unicode/uversion.h"
|
||||||
|
|
||||||
|
+#if U_ICU_VERSION_MAJOR_NUM >= 59
|
||||||
|
+#include "unicode/char16ptr.h"
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
namespace v8 {
|
||||||
|
namespace internal {
|
||||||
|
|
||||||
|
@@ -270,8 +275,13 @@ icu::DecimalFormat* CreateICUNumberFormat(
|
||||||
|
}
|
||||||
|
|
||||||
|
UErrorCode status_digits = U_ZERO_ERROR;
|
||||||
|
+#if U_ICU_VERSION_MAJOR_NUM >= 59
|
||||||
|
uint32_t fraction_digits = ucurr_getDefaultFractionDigits(
|
||||||
|
- currency.getTerminatedBuffer(), &status_digits);
|
||||||
|
+ icu::toUCharPtr(currency.getTerminatedBuffer()), &status_digits);
|
||||||
|
+#else
|
||||||
|
+ uint32_t fraction_digits = ucurr_getDefaultFractionDigits(
|
||||||
|
+ currency.getTerminatedBuffer(), &status_digits);
|
||||||
|
+#endif
|
||||||
|
if (U_SUCCESS(status_digits)) {
|
||||||
|
number_format->setMinimumFractionDigits(fraction_digits);
|
||||||
|
number_format->setMaximumFractionDigits(fraction_digits);
|
||||||
|
Index: src/runtime/runtime-i18n.cc
|
||||||
|
diff --git a/deps/v8/src/runtime/runtime-i18n.cc b/deps/v8/src/runtime/runtime-i18n.cc
|
||||||
|
index 0b45381914641a824e36e99eaa0d315bf96252aa..e89175a37db11aa6990888e26e6bb989cf7c36b5 100644
|
||||||
|
--- a/deps/v8/src/runtime/runtime-i18n.cc
|
||||||
|
+++ b/deps/v8/src/runtime/runtime-i18n.cc
|
||||||
|
@@ -43,6 +43,7 @@
|
||||||
|
#include "unicode/uloc.h"
|
||||||
|
#include "unicode/unistr.h"
|
||||||
|
#include "unicode/unum.h"
|
||||||
|
+#include "unicode/ustring.h"
|
||||||
|
#include "unicode/uversion.h"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -609,10 +610,11 @@ RUNTIME_FUNCTION(Runtime_InternalCompare) {
|
||||||
|
String::FlatContent flat2 = string2->GetFlatContent();
|
||||||
|
std::unique_ptr<uc16[]> sap1;
|
||||||
|
std::unique_ptr<uc16[]> sap2;
|
||||||
|
- const UChar* string_val1 = GetUCharBufferFromFlat(flat1, &sap1, length1);
|
||||||
|
- const UChar* string_val2 = GetUCharBufferFromFlat(flat2, &sap2, length2);
|
||||||
|
- result =
|
||||||
|
- collator->compare(string_val1, length1, string_val2, length2, status);
|
||||||
|
+ icu::UnicodeString string_val1(
|
||||||
|
+ FALSE, GetUCharBufferFromFlat(flat1, &sap1, length1), length1);
|
||||||
|
+ icu::UnicodeString string_val2(
|
||||||
|
+ FALSE, GetUCharBufferFromFlat(flat2, &sap2, length2), length2);
|
||||||
|
+ result = collator->compare(string_val1, string_val2, status);
|
||||||
|
}
|
||||||
|
if (U_FAILURE(status)) return isolate->ThrowIllegalOperation();
|
||||||
|
|
||||||
@@ -12,10 +12,13 @@
|
|||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications</Summary>
|
<Summary>is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications</Summary>
|
||||||
<Description>Evented I/O for V8 javascript</Description>
|
<Description>Evented I/O for V8 javascript</Description>
|
||||||
<Archive sha1sum="3c901d7b34cf9cc161f6c3845a576fbf0c91b4c5" type="targz">http://nodejs.org/dist/v4.1.2/node-v4.1.2.tar.gz</Archive>
|
<Archive sha1sum="19f3feadd52ada7417e63e360fdf9a96be1dd49e" type="targz">http://nodejs.org/dist/v7.9.0/node-v7.9.0.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>openssl-devel</Dependency>
|
<Dependency>openssl-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">nodejs-v8-icu59.patch</Patch>
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
@@ -35,6 +38,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2017-05-02</Date>
|
||||||
|
<Version>7.9.0</Version>
|
||||||
|
<Comment>Version Bump</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2016-06-09</Date>
|
<Date>2016-06-09</Date>
|
||||||
<Version>4.1.2</Version>
|
<Version>4.1.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user