diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/centerim/centerim.SlackBuild | 5 | ||||
-rw-r--r-- | network/centerim/gcc47.patch | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/network/centerim/centerim.SlackBuild b/network/centerim/centerim.SlackBuild index 418f014083..51677e0e79 100644 --- a/network/centerim/centerim.SlackBuild +++ b/network/centerim/centerim.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=centerim VERSION=4.22.10 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,6 +65,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . +# Fix for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/centerim/gcc47.patch b/network/centerim/gcc47.patch new file mode 100644 index 0000000000..191956c11b --- /dev/null +++ b/network/centerim/gcc47.patch @@ -0,0 +1,11 @@ +diff -Naur centerim-4.22.10.orig/libicq2000/libicq2000/sigslot.h centerim-4.22.10/libicq2000/libicq2000/sigslot.h +--- centerim-4.22.10.orig/libicq2000/libicq2000/sigslot.h 2010-10-26 19:19:06.000000000 +0200 ++++ centerim-4.22.10/libicq2000/libicq2000/sigslot.h 2012-09-15 21:46:10.469007313 +0200 +@@ -84,6 +84,7 @@ + + #include <set> + #include <list> ++#include <unistd.h> + + #if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(SIGSLOT_USE_POSIX_THREADS)) + # define _SIGSLOT_SINGLE_THREADED |