summaryrefslogtreecommitdiff
path: root/security/seahorse/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-07-28 08:45:07 +0000
committerdrochner <drochner@pkgsrc.org>2010-07-28 08:45:07 +0000
commitaa4ae2ec83312fa5b3c1747e2b2ebed950eccd31 (patch)
treec2c91ef502dc4c1bd85e279dc80d664a5f87defc /security/seahorse/patches
parentd27f91560864484b1d59aec9e7558306e4b0a244 (diff)
downloadpkgsrc-aa4ae2ec83312fa5b3c1747e2b2ebed950eccd31.tar.gz
POSIX says <sys/stat.h> is sufficient to get mode_t defined, but some
older systems apparently need <sys/types.h> for this, so just include it as well fixes compile problem on Ubuntu 6.06 reported by Matthias Ferdinand
Diffstat (limited to 'security/seahorse/patches')
-rw-r--r--security/seahorse/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/seahorse/patches/patch-ac b/security/seahorse/patches/patch-ac
new file mode 100644
index 00000000000..7ba4538019f
--- /dev/null
+++ b/security/seahorse/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.7 2010/07/28 08:45:07 drochner Exp $
+
+--- libseahorse/seahorse-util.c.orig 2010-04-27 01:16:23.000000000 +0000
++++ libseahorse/seahorse-util.c
+@@ -39,6 +39,7 @@
+ #endif
+
+ #include <sys/wait.h>
++#include <sys/types.h> /* XXX needed by some systems to define mode_t */
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <time.h>