diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libjingle/libjingle-0.3.12-gcc47.patch | 11 | ||||
-rw-r--r-- | libraries/libjingle/libjingle.SlackBuild | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/libraries/libjingle/libjingle-0.3.12-gcc47.patch b/libraries/libjingle/libjingle-0.3.12-gcc47.patch new file mode 100644 index 0000000000..a08f77a258 --- /dev/null +++ b/libraries/libjingle/libjingle-0.3.12-gcc47.patch @@ -0,0 +1,11 @@ +diff -Naur libjingle-0.3.12.orig/talk/base/sigslot.h libjingle-0.3.12/talk/base/sigslot.h +--- libjingle-0.3.12.orig/talk/base/sigslot.h 2008-09-16 15:55:22.000000000 +0200 ++++ libjingle-0.3.12/talk/base/sigslot.h 2012-09-12 11:26:35.849989149 +0200 +@@ -80,6 +80,7 @@ + + #include <set> + #include <list> ++#include <unistd.h> + + // On our copy of sigslot.h, we force single threading + #define SIGSLOT_PURE_ISO diff --git a/libraries/libjingle/libjingle.SlackBuild b/libraries/libjingle/libjingle.SlackBuild index 377e73715a..67511b5f23 100644 --- a/libraries/libjingle/libjingle.SlackBuild +++ b/libraries/libjingle/libjingle.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=libjingle VERSION=${VERSION:-0.3.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -73,9 +73,10 @@ find . \ -exec chmod 644 {} \; patch -p1 < $CWD/libjingle-0.3.12-gcc44.patch +patch -p1 < $CWD/libjingle-0.3.12-gcc47.patch CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -fpermissive" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |