1 |
tomka 10/11/06 17:55:32 |
2 |
|
3 |
Added: frobby-latex.patch frobby-cflags-no-strip.patch |
4 |
frobby-useless-checks.patch |
5 |
Log: |
6 |
New package: sci-mathematics/frobby imported from science overlay. |
7 |
Fixes bug 294503 |
8 |
|
9 |
(Portage version: 2.1.9.24/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 sci-mathematics/frobby/files/frobby-latex.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-latex.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-latex.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: frobby-latex.patch |
18 |
=================================================================== |
19 |
--- Makefile 2009-07-07 05:40:18.000000000 +0200 |
20 |
+++ Makefile.docfix 2009-11-25 00:47:33.000000000 +0100 |
21 |
@@ -241,15 +241,15 @@ |
22 |
docPs: |
23 |
rm -rf bin/doc |
24 |
mkdir bin/doc |
25 |
- for i in 1 2 3; do latex doc/manual.tex -output-directory=bin/doc/; done |
26 |
+ for i in 1 2 3; do latex -output-directory=bin/doc/ doc/manual.tex; done |
27 |
cd bin; dvips doc/manual.dvi |
28 |
docPdf: |
29 |
rm -rf bin/doc |
30 |
mkdir bin/doc |
31 |
- for i in 1 2 3; do pdflatex doc/manual.tex -output-directory=bin/doc/; done |
32 |
+ for i in 1 2 3; do pdflatex -output-directory=bin/doc/ doc/manual.tex; done |
33 |
mv bin/doc/manual.pdf bin |
34 |
docDviOnce: # Useful to view changes when writing the manual |
35 |
- latex doc/manual.tex -output-directory=bin/doc |
36 |
+ latex -output-directory=bin/doc doc/manual.tex |
37 |
|
38 |
# It may seem wasteful to run doxygen three times to generate three |
39 |
# kinds of output. However, the latex output for creating a pdf file |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-mathematics/frobby/files/frobby-cflags-no-strip.patch |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-cflags-no-strip.patch?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-cflags-no-strip.patch?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: frobby-cflags-no-strip.patch |
49 |
=================================================================== |
50 |
--- Makefile.orig 2009-12-17 13:49:58.000000000 +0100 |
51 |
+++ Makefile 2009-12-17 13:50:25.000000000 +0100 |
52 |
@@ -77,7 +77,6 @@ |
53 |
MATCH=false |
54 |
ifeq ($(MODE), release) |
55 |
outdir = bin/release/ |
56 |
- cflags += -O2 |
57 |
MATCH=true |
58 |
endif |
59 |
ifeq ($(MODE), debug) |
60 |
@@ -190,9 +189,6 @@ |
61 |
mv -f $@.exe $@; \ |
62 |
fi |
63 |
endif |
64 |
-ifeq ($(MODE), release) |
65 |
- strip $@ |
66 |
-endif |
67 |
|
68 |
# Link object files into library |
69 |
library: bin/$(library) |
70 |
|
71 |
|
72 |
|
73 |
1.1 sci-mathematics/frobby/files/frobby-useless-checks.patch |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-useless-checks.patch?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-useless-checks.patch?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: frobby-useless-checks.patch |
79 |
=================================================================== |
80 |
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 |
81 |
--- /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 |
82 |
+++ frobby_v0.8.2/src/DebugAllocator.cpp 2009-10-20 16:58:39.000000000 -0500 |
83 |
@@ -40,6 +40,7 @@ |
84 |
reportError("Could not open file \"" + _inputFile + "\" for input."); |
85 |
} |
86 |
|
87 |
+#if 0 |
88 |
/** @todo consider off-by-one conditions on the allocation limit |
89 |
conditions in this method. |
90 |
|
91 |
@@ -197,6 +198,8 @@ |
92 |
_limitAllocation = false; |
93 |
} |
94 |
|
95 |
+#endif |
96 |
+ |
97 |
void* DebugAllocator::allocate(size_t size) { |
98 |
return allocate(size, 0, 0); |
99 |
} |
100 |
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 |
101 |
--- /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 |
102 |
+++ frobby_v0.8.2/src/test/TestSuite.cpp 2009-10-20 16:58:39.000000000 -0500 |
103 |
@@ -15,6 +15,7 @@ |
104 |
along with this program. If not, see http://www.gnu.org/licenses/. |
105 |
*/ |
106 |
#include "stdinc.h" |
107 |
+#include <algorithm> |
108 |
#include "TestSuite.h" |
109 |
|
110 |
#include "TestVisitor.h" |
111 |
@@ -40,7 +41,7 @@ |
112 |
} |
113 |
|
114 |
void TestSuite::sortTests() { |
115 |
- sort(begin(), end(), comparePointedToValue); |
116 |
+ std::sort(begin(), end(), comparePointedToValue); |
117 |
} |
118 |
|
119 |
TestSuite::TestIterator TestSuite::begin() { |
120 |
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 |
121 |
--- /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 |
122 |
+++ frobby_v0.8.2/test/error/help-noparam.err 2009-10-20 16:58:39.000000000 -0500 |
123 |
@@ -1,4 +1,4 @@ |
124 |
-Frobby version 0.8.1 Copyright (C) 2007 Bjarke Hammersholt Roune |
125 |
+Frobby version 0.8.2 Copyright (C) 2007 Bjarke Hammersholt Roune |
126 |
Frobby performs a number of computations related to monomial ideals. You |
127 |
run it by typing `frobby ACTION', where ACTION is one of the following. |
128 |
|
129 |
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 |
130 |
--- /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 |
131 |
+++ frobby_v0.8.2/test/error/runtests 2009-10-20 16:59:53.000000000 -0500 |
132 |
@@ -85,8 +85,8 @@ |
133 |
$t latformat "blah" latformat-unknownOutput $* -oformat unknownFormat |
134 |
if [ $? != 0 ]; then exit 1; fi |
135 |
|
136 |
-$t genideal "blah" genideal-tooLargeBoard $* -type king -varCount 100000 |
137 |
-if [ $? != 0 ]; then exit 1; fi |
138 |
+# $t genideal "blah" genideal-tooLargeBoard $* -type king -varCount 100000 |
139 |
+# if [ $? != 0 ]; then exit 1; fi |
140 |
|
141 |
|
142 |
####################################### |
143 |
@@ -203,8 +203,8 @@ |
144 |
$t transform "1 1" 4ti2-noInteger $* -iformat 4ti2 |
145 |
if [ $? != 0 ]; then exit 1; fi |
146 |
|
147 |
-$t transform "1 1234567890123456" 4ti2-tooLarge $* -iformat 4ti2 |
148 |
-if [ $? != 0 ]; then exit 1; fi |
149 |
+# $t transform "1 1234567890123456" 4ti2-tooLarge $* -iformat 4ti2 |
150 |
+# if [ $? != 0 ]; then exit 1; fi |
151 |
|
152 |
$t hilbert "R=QQ[a];I=monomialIdeal(" m2-noIdentifier $* -iformat m2 |
153 |
if [ $? != 0 ]; then exit 1; fi |