Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
slapos
Commits
c14127c8
Commit
c14127c8
authored
Feb 02, 2017
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx no stdint.h + U?INT64_M(IN|AX)
parent
371834d7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
41 deletions
+81
-41
component/onlyoffice-core/buildout.cfg
component/onlyoffice-core/buildout.cfg
+1
-1
component/onlyoffice-core/rewrite-scripts.patch
component/onlyoffice-core/rewrite-scripts.patch
+80
-40
No files found.
component/onlyoffice-core/buildout.cfg
View file @
c14127c8
...
...
@@ -14,7 +14,7 @@ url = https://github.com/ONLYOFFICE/core/archive/f84ee9a5a30b79a2995a96f8019978d
md5sum = 2ead88646094941dc8de12cdc72ba3b2
patch-options = -p0
patches =
${:_profile_base_location_}/rewrite-scripts.patch#
a37c5e278cd2e1cd92621beb967c2c0a
${:_profile_base_location_}/rewrite-scripts.patch#
9626ac595abd6310aae98d38de2b78ec
${:_profile_base_location_}/cryptopp.patch#a2f892e23e13952539d1acfd013be7de
# ${:_profile_base_location_}/avoid-7z.patch#0dd7356c1a766ec14e0e8bcafcffe1a7
# error: 'to_wstring' is not a member of 'std' -> http://www.cplusplus.com/forum/general/109469/
...
...
component/onlyoffice-core/rewrite-scripts.patch
View file @
c14127c8
...
...
@@ -338,7 +338,7 @@
+git apply ../slapos-v8.patch
--- /dev/null 2017-01-30 09:00:09.914078893 +0100
+++ Common/3dParty/v8/slapos-v8.patch 2017-02-01 16:39:12.093279611 +0100
@@ -0,0 +1,1
0
5 @@
@@ -0,0 +1,1
4
5 @@
+diff --git a/build/standalone.gypi b/build/standalone.gypi
+index f804715..48eea0f 100644
+--- a/build/standalone.gypi
...
...
@@ -375,32 +375,36 @@
+ 'linux_use_gold_flags%': 0,
+ }],
+diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc
+index b3841d0..
a250c41
100644
+index b3841d0..
992d092
100644
+--- a/src/compiler/arm64/code-generator-arm64.cc
++++ b/src/compiler/arm64/code-generator-arm64.cc
+@@ -1,6 +1,7 @@
+ // Copyright 2014 the V8 project authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
++#include <stdint.h>
+
+ #include "src/compiler/code-generator.h"
+@@ -12,6 +12,10 @@
+ #include "src/compiler/node-matchers.h"
+ #include "src/compiler/osr.h"
+
++#ifndef INT64_MIN
++#define INT64_MIN (-9223372036854775807LL -1)
++#endif
++
+ namespace v8 {
+ namespace internal {
+ namespace compiler {
+diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
+index 053c646..
08e410
2 100644
+index 053c646..
efd424
2 100644
+--- a/src/compiler/instruction-selector.cc
++++ b/src/compiler/instruction-selector.cc
+@@ -
324,6 +324,9 @@ InstructionOperand OperandForDeopt(OperandGenerator* g, Node* input,
+
}
+
+@@ -
14,6 +14,10 @@
+
#include "src/compiler/state-values-utils.h"
+
#include "src/deoptimizer.h"
+
++#ifndef SIZE_MAX
++#define SIZE_MAX (4294967295U)
++#endif
+ class StateObjectDeduplicator {
+ public:
+ explicit StateObjectDeduplicator(Zone* zone) : objects_(zone) {}
+@@ -387,6 +390,7 @@ size_t AddOperandToStateValueDescriptor(StateValueDescriptor* descriptor,
++
+ namespace v8 {
+ namespace internal {
+ namespace compiler {
+@@ -387,6 +391,7 @@ size_t AddOperandToStateValueDescriptor(StateValueDescriptor* descriptor,
+ return 1;
+ }
+ }
...
...
@@ -409,38 +413,74 @@
+
+
+diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc
+index 8a64744..
bb723b3
100644
+index 8a64744..
7c9b425
100644
+--- a/src/compiler/x64/code-generator-x64.cc
++++ b/src/compiler/x64/code-generator-x64.cc
+@@ -1,6 +1,7 @@
+ // Copyright 2013 the V8 project authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
++#include <stdint.h>
+
+ #include "src/compiler/code-generator.h"
+@@ -12,6 +12,10 @@
+ #include "src/x64/assembler-x64.h"
+ #include "src/x64/macro-assembler-x64.h"
+
++#ifndef INT64_MIN
++#define INT64_MIN (-9223372036854775807LL -1)
++#endif
++
+ namespace v8 {
+ namespace internal {
+ namespace compiler {
+diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
+index cea90a2..
d52de12
100644
+index cea90a2..
9f4978a
100644
+--- a/test/cctest/compiler/test-run-machops.cc
++++ b/test/cctest/compiler/test-run-machops.cc
+@@ -5,6 +5,7 @@
+ #include <cmath>
+ #include <functional>
+ #include <limits>
++#include <stdint.h>
+@@ -14,6 +14,16 @@
+ #include "test/cctest/compiler/graph-builder-tester.h"
+ #include "test/cctest/compiler/value-helper.h"
+
++#ifndef INT64_MIN
++#define INT64_MIN (-9223372036854775807LL -1)
++#endif
++#ifndef INT64_MAX
++#define INT64_MAX (9223372036854775807LL)
++#endif
++#ifndef UINT64_MAX
++#define UINT64_MAX (18446744073709551615ULL)
++#endif
++
+ using namespace v8::base;
+
+ #include "src/base/bits.h"
+ #include "src/base/utils/random-number-generator.h"
+ namespace v8 {
+diff --git a/test/cctest/test-macro-assembler-mips64.cc b/test/cctest/test-macro-assembler-mips64.cc
+index e74703b..
a251854
100644
+index e74703b..
9495bfc
100644
+--- a/test/cctest/test-macro-assembler-mips64.cc
++++ b/test/cctest/test-macro-assembler-mips64.cc
+@@ -27,6 +27,7 @@
+@@ -36,6 +36,10 @@
+ #include "src/mips64/macro-assembler-mips64.h"
+ #include "src/mips64/simulator-mips64.h"
+
++#ifndef INT64_MAX
++#define INT64_MAX (9223372036854775807LL)
++#endif
++
+
+ #include <stdlib.h>
+ #include <iostream> // NOLINT(readability/streams)
++#include <stdint.h>
+ using namespace v8::internal;
+
+ #include "src/v8.h"
+ #include "test/cctest/cctest.h"
+diff --git a/test/cctest/wasm/test-run-wasm.cc b/test/cctest/wasm/test-run-wasm.cc
+index a3730ca..9cb5026 100644
+--- a/test/cctest/wasm/test-run-wasm.cc
++++ b/test/cctest/wasm/test-run-wasm.cc
+@@ -13,6 +13,16 @@
+ #include "test/cctest/wasm/test-signatures.h"
+ #include "test/cctest/wasm/wasm-run-utils.h"
+
++#ifndef INT64_MIN
++#define INT64_MIN (-9223372036854775807LL -1)
++#endif
++#ifndef INT64_MAX
++#define INT64_MAX (9223372036854775807LL)
++#endif
++#ifndef UINT64_MAX
++#define UINT64_MAX (18446744073709551615ULL)
++#endif
++
+ using namespace v8::base;
+ using namespace v8::internal;
+ using namespace v8::internal::compiler;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment