diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/cryptkeeper/cryptkeeper.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/cryptkeeper/gcc47.patch | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/desktop/cryptkeeper/cryptkeeper.SlackBuild b/desktop/cryptkeeper/cryptkeeper.SlackBuild index 0397d5da8f..85d6557a75 100644 --- a/desktop/cryptkeeper/cryptkeeper.SlackBuild +++ b/desktop/cryptkeeper/cryptkeeper.SlackBuild @@ -27,7 +27,7 @@ PRGNAM="cryptkeeper" VERSION=${VERSION:-0.9.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -73,6 +73,10 @@ find . \ \( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ -exec chmod 755 {} \; +# Patch for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch + +LDFLAGS="-lX11" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure --prefix=/usr \ diff --git a/desktop/cryptkeeper/gcc47.patch b/desktop/cryptkeeper/gcc47.patch new file mode 100644 index 0000000000..816712f30f --- /dev/null +++ b/desktop/cryptkeeper/gcc47.patch @@ -0,0 +1,11 @@ +diff -Naur cryptkeeper-0.9.5.orig/src/lsof.cpp cryptkeeper-0.9.5/src/lsof.cpp +--- cryptkeeper-0.9.5.orig/src/lsof.cpp 2009-10-18 13:47:13.000000000 +0200 ++++ cryptkeeper-0.9.5/src/lsof.cpp 2012-09-16 23:00:05.465985217 +0200 +@@ -17,6 +17,7 @@ + */ + #include <stdlib.h> + #include <stdio.h> ++#include <unistd.h> + #include <string> + #include <vector> + #include <assert.h> |