diff options
author | drochner <drochner@pkgsrc.org> | 2010-07-28 08:45:07 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-07-28 08:45:07 +0000 |
commit | aa4ae2ec83312fa5b3c1747e2b2ebed950eccd31 (patch) | |
tree | c2c91ef502dc4c1bd85e279dc80d664a5f87defc /security/seahorse | |
parent | d27f91560864484b1d59aec9e7558306e4b0a244 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | security/seahorse/distinfo | 3 | ||||
-rw-r--r-- | security/seahorse/patches/patch-ac | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/security/seahorse/distinfo b/security/seahorse/distinfo index bded87c0bcd..0fa1991fbda 100644 --- a/security/seahorse/distinfo +++ b/security/seahorse/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.33 2010/07/06 15:12:37 drochner Exp $ +$NetBSD: distinfo,v 1.34 2010/07/28 08:45:07 drochner Exp $ SHA1 (seahorse-2.30.1.tar.bz2) = 1754a447d48837bc8a0a657a6bcdd65666704ccb RMD160 (seahorse-2.30.1.tar.bz2) = 70cdcc18798e405deb0164d098c57d22adc2f5f5 Size (seahorse-2.30.1.tar.bz2) = 2422214 bytes SHA1 (patch-ab) = 999c135e1815be5608caacb077dc9b881226dd30 +SHA1 (patch-ac) = 3df4e4950bc967c964746e55e3ca2fbffb0cddf2 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> |