From 7561a9f6f5cdeb0a19dd6f1bc993175577cc5454 Mon Sep 17 00:00:00 2001 From: vvoody Date: Thu, 13 Sep 2012 17:34:15 -0500 Subject: network/fqterm: Fixed build with gcc47 Signed-off-by: Robby Workman --- network/fqterm/fqterm-0.9.6.10-gcc47.patch | 10 ++++++++++ network/fqterm/fqterm.SlackBuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 network/fqterm/fqterm-0.9.6.10-gcc47.patch (limited to 'network/fqterm') 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 0000000000000..1b0167fe4d2a8 --- /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 ++#include + #include + #include + diff --git a/network/fqterm/fqterm.SlackBuild b/network/fqterm/fqterm.SlackBuild index faf43df2e739e..74b32c7c2fd7d 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 \ -- cgit v1.2.3