diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-04 06:27:07 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-04 06:27:07 +0000 |
commit | 0db53fde9f6e63241bbd85c7580f9d67e77b6c06 (patch) | |
tree | 4157f20d6ef164f383219223a37636d3135569c1 /sci-mathematics/frobby/files | |
parent | Added patch to 5.5 version so it mounts shares again (bug #424487). (diff) | |
download | historical-0db53fde9f6e63241bbd85c7580f9d67e77b6c06.tar.gz historical-0db53fde9f6e63241bbd85c7580f9d67e77b6c06.tar.bz2 historical-0db53fde9f6e63241bbd85c7580f9d67e77b6c06.zip |
sci-mathematics/frobby: Fix for build with gcc-4.7, #424663; handle static-libs
Package-Manager: portage-2.2.0_alpha115/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/frobby/files')
-rw-r--r-- | sci-mathematics/frobby/files/frobby-gcc-4.7.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-mathematics/frobby/files/frobby-gcc-4.7.patch b/sci-mathematics/frobby/files/frobby-gcc-4.7.patch new file mode 100644 index 000000000000..4a73161166d9 --- /dev/null +++ b/sci-mathematics/frobby/files/frobby-gcc-4.7.patch @@ -0,0 +1,32 @@ + 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); |