slackbuilds_ponce/desktop/cryptkeeper/gcc47.patch
Matteo Bernardini 6b513bedf3 desktop/cryptkeeper: Patched for gcc-4.7.x and fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-16 19:44:43 -04:00

11 lines
369 B
Diff

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>