diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-16 23:04:23 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:44:43 -0400 |
commit | 6b513bedf346653bb7d8a9898e74e7995e136210 (patch) | |
tree | 717505a4cc9734c06e9f7c30ba626decb0acd25e /desktop | |
parent | 71d6e5d82d257c97b054f7865eb0b6aa4dc49194 (diff) | |
download | slackbuilds-6b513bedf346653bb7d8a9898e74e7995e136210.tar.gz |
desktop/cryptkeeper: Patched for gcc-4.7.x and fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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> |