diff options
author | Thomas Kahle <tomka@gentoo.org> | 2010-11-06 17:55:32 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2010-11-06 17:55:32 +0000 |
commit | 5f28dc8fd5a74c103224304f7eac45a4f23099da (patch) | |
tree | 55e6f0d82bb22ba041d33c214403538f0bd8f2ed /sci-mathematics/frobby/files/frobby-useless-checks.patch | |
parent | arm stable, bug #343985 (diff) | |
download | historical-5f28dc8fd5a74c103224304f7eac45a4f23099da.tar.gz historical-5f28dc8fd5a74c103224304f7eac45a4f23099da.tar.bz2 historical-5f28dc8fd5a74c103224304f7eac45a4f23099da.zip |
New package: sci-mathematics/frobby imported from science overlay.
Fixes bug 294503
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'sci-mathematics/frobby/files/frobby-useless-checks.patch')
-rw-r--r-- | sci-mathematics/frobby/files/frobby-useless-checks.patch | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/sci-mathematics/frobby/files/frobby-useless-checks.patch b/sci-mathematics/frobby/files/frobby-useless-checks.patch new file mode 100644 index 000000000000..2c0dc08a901b --- /dev/null +++ b/sci-mathematics/frobby/files/frobby-useless-checks.patch @@ -0,0 +1,74 @@ +diff -ur --exclude=configure /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/src/DebugAllocator.cpp frobby_v0.8.2/src/DebugAllocator.cpp +--- /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/src/DebugAllocator.cpp 2009-07-06 22:40:18.000000000 -0500 ++++ frobby_v0.8.2/src/DebugAllocator.cpp 2009-10-20 16:58:39.000000000 -0500 +@@ -40,6 +40,7 @@ + reportError("Could not open file \"" + _inputFile + "\" for input."); + } + ++#if 0 + /** @todo consider off-by-one conditions on the allocation limit + conditions in this method. + +@@ -197,6 +198,8 @@ + _limitAllocation = false; + } + ++#endif ++ + void* DebugAllocator::allocate(size_t size) { + return allocate(size, 0, 0); + } +diff -ur --exclude=configure /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/src/test/TestSuite.cpp frobby_v0.8.2/src/test/TestSuite.cpp +--- /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/src/test/TestSuite.cpp 2009-07-06 22:40:18.000000000 -0500 ++++ frobby_v0.8.2/src/test/TestSuite.cpp 2009-10-20 16:58:39.000000000 -0500 +@@ -15,6 +15,7 @@ + along with this program. If not, see http://www.gnu.org/licenses/. + */ + #include "stdinc.h" ++#include <algorithm> + #include "TestSuite.h" + + #include "TestVisitor.h" +@@ -40,7 +41,7 @@ + } + + void TestSuite::sortTests() { +- sort(begin(), end(), comparePointedToValue); ++ std::sort(begin(), end(), comparePointedToValue); + } + + TestSuite::TestIterator TestSuite::begin() { +diff -ur --exclude=configure /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/test/error/help-noparam.err frobby_v0.8.2/test/error/help-noparam.err +--- /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/test/error/help-noparam.err 2009-07-06 22:40:19.000000000 -0500 ++++ frobby_v0.8.2/test/error/help-noparam.err 2009-10-20 16:58:39.000000000 -0500 +@@ -1,4 +1,4 @@ +-Frobby version 0.8.1 Copyright (C) 2007 Bjarke Hammersholt Roune ++Frobby version 0.8.2 Copyright (C) 2007 Bjarke Hammersholt Roune + Frobby performs a number of computations related to monomial ideals. You + run it by typing `frobby ACTION', where ACTION is one of the following. + +diff -ur --exclude=configure /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/test/error/runtests frobby_v0.8.2/test/error/runtests +--- /Users/dan/src/M2-1.3/BUILD/dan/builds.tmp/mac64.production/libraries/frobby/tmp/frobby_v0.8.2/test/error/runtests 2009-07-06 22:40:19.000000000 -0500 ++++ frobby_v0.8.2/test/error/runtests 2009-10-20 16:59:53.000000000 -0500 +@@ -85,8 +85,8 @@ + $t latformat "blah" latformat-unknownOutput $* -oformat unknownFormat + if [ $? != 0 ]; then exit 1; fi + +-$t genideal "blah" genideal-tooLargeBoard $* -type king -varCount 100000 +-if [ $? != 0 ]; then exit 1; fi ++# $t genideal "blah" genideal-tooLargeBoard $* -type king -varCount 100000 ++# if [ $? != 0 ]; then exit 1; fi + + + ####################################### +@@ -203,8 +203,8 @@ + $t transform "1 1" 4ti2-noInteger $* -iformat 4ti2 + if [ $? != 0 ]; then exit 1; fi + +-$t transform "1 1234567890123456" 4ti2-tooLarge $* -iformat 4ti2 +-if [ $? != 0 ]; then exit 1; fi ++# $t transform "1 1234567890123456" 4ti2-tooLarge $* -iformat 4ti2 ++# if [ $? != 0 ]; then exit 1; fi + + $t hilbert "R=QQ[a];I=monomialIdeal(" m2-noIdentifier $* -iformat m2 + if [ $? != 0 ]; then exit 1; fi |