diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-mathematics/z3/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/z3/files')
-rw-r--r-- | sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch b/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch new file mode 100644 index 000000000000..2dc0ddd12f26 --- /dev/null +++ b/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch @@ -0,0 +1,18 @@ +diff --git a/src/util/debug.cpp b/src/util/debug.cpp +index 54c67fe..66676c6 100644 +--- a/src/util/debug.cpp ++++ b/src/util/debug.cpp +@@ -78,3 +78,3 @@ void invoke_gdb() { + char result; +- bool ok = (std::cin >> result); ++ bool ok = bool(std::cin >> result); + if (!ok) exit(ERR_INTERNAL_FATAL); // happens if std::cin is eof or unattached. +diff --git a/src/util/mpz.cpp b/src/util/mpz.cpp +index 8559279..7dca14b 100644 +--- a/src/util/mpz.cpp ++++ b/src/util/mpz.cpp +@@ -136,3 +136,3 @@ mpz_manager<SYNCH>::mpz_manager(): + mpz one(1); +- set(m_two64, UINT64_MAX); ++ set(m_two64, (uint64)UINT64_MAX); + add(m_two64, one, m_two64); |