diff options
Diffstat (limited to 'network/fqterm')
-rw-r--r-- | network/fqterm/fqterm-0.9.6.10-gcc47.patch | 10 | ||||
-rw-r--r-- | network/fqterm/fqterm.SlackBuild | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/network/fqterm/fqterm-0.9.6.10-gcc47.patch b/network/fqterm/fqterm-0.9.6.10-gcc47.patch new file mode 100644 index 0000000000..1b0167fe4d --- /dev/null +++ b/network/fqterm/fqterm-0.9.6.10-gcc47.patch @@ -0,0 +1,10 @@ +--- src/common/fqterm_trace.h 2011-09-28 17:10:16.000000000 +0200 ++++ src/common/fqterm_trace.h.gcc47 2012-09-13 10:37:18.414623673 +0200 +@@ -22,6 +22,7 @@ + #define FQTERM_TRACE_H
+
+ #include <cassert>
++#include <unistd.h>
+ #include <QtDebug>
+ #include <QFileInfo>
+
diff --git a/network/fqterm/fqterm.SlackBuild b/network/fqterm/fqterm.SlackBuild index faf43df2e7..74b32c7c2f 100644 --- a/network/fqterm/fqterm.SlackBuild +++ b/network/fqterm/fqterm.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=fqterm VERSION=${VERSION:-0.9.6.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,6 +51,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for compiling under gcc-4.7 +patch -p0 < $CWD/fqterm-0.9.6.10-gcc47.patch + mkdir build cd build cmake \ |