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 /dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch')
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch b/dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch new file mode 100644 index 000000000000..82d5bc7f7ebb --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-9.1-gcc.patch @@ -0,0 +1,33 @@ +diff -ur qp9.1.orig/src/pile.h qp9.1/src/pile.h +--- qp9.1.orig/src/pile.h 2011-08-23 01:17:44.000000000 +0200 ++++ qp9.1/src/pile.h 2013-01-09 12:07:44.000000000 +0100 +@@ -75,7 +75,7 @@ + // + // Push a StoredType onto the pile. + // +- void push(const StoredType s){ pushElement(s); } ++ void push(const StoredType s){ this->pushElement(s); } + + // + // Pop a StoredType off the pile. +@@ -85,7 +85,7 @@ + // + // Pop n entries of StoredType off the pile. + // +- void popNEntries(word32 n) { setTopOfStack(this->getTopOfStack() - n); } ++ void popNEntries(word32 n) { this->setTopOfStack(this->getTopOfStack() - n); } + + // + // Check whether the pile is empty or not. +diff -ur qp9.1.orig/src/system_support.cc qp9.1/src/system_support.cc +--- qp9.1.orig/src/system_support.cc 2011-08-23 01:17:44.000000000 +0200 ++++ qp9.1/src/system_support.cc 2013-01-09 12:07:16.000000000 +0100 +@@ -61,6 +61,8 @@ + #include <iostream> + #ifdef WIN32 + #include <direct.h> ++#else ++#include <unistd.h> + #endif //WIN32 + + using namespace std; |