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/frobby/files/frobby-gcc-4.7.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/frobby/files/frobby-gcc-4.7.patch')
-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); |