* [gentoo-commits] gentoo-x86 commit in sci-mathematics/frobby/files: frobby-gcc-4.7.patch
@ 2012-07-04 6:27 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-07-04 6:27 UTC (permalink / raw
To: gentoo-commits
jlec 12/07/04 06:27:08
Added: frobby-gcc-4.7.patch
Log:
sci-mathematics/frobby: Fix for build with gcc-4.7, #424663; handle static-libs
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-mathematics/frobby/files/frobby-gcc-4.7.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-gcc-4.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/files/frobby-gcc-4.7.patch?rev=1.1&content-type=text/plain
Index: frobby-gcc-4.7.patch
===================================================================
src/main.cpp | 3 +++
src/randomDataGenerators.cpp | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp
index a16754e..315ea53 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,6 +25,9 @@
#include <ctime>
#include <cstdlib>
+#include <sys/types.h>
+#include <unistd.h>
+
/** This function runs the Frobby console interface. the ::main
function calls this function after having set up DEBUG-specific
things, catching exceptions, setting the random seed and so on.
diff --git a/src/randomDataGenerators.cpp b/src/randomDataGenerators.cpp
index 432a90a..1de3559 100755
--- a/src/randomDataGenerators.cpp
+++ b/src/randomDataGenerators.cpp
@@ -26,6 +26,9 @@
#include <limits>
#include <ctime>
+#include <sys/types.h>
+#include <unistd.h>
+
void generateLinkedListIdeal(BigIdeal& ideal, size_t variableCount) {
VarNames names(variableCount);
ideal.clearAndSetNames(variableCount);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-04 6:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 6:27 [gentoo-commits] gentoo-x86 commit in sci-mathematics/frobby/files: frobby-gcc-4.7.patch Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox