pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

security/seahorse: compile error on linux (Ubuntu 6.06)



Hi,

should perhaps be fixed upstream. Missing include for sys/types.h in
libseahorse/seahorse_util.c leads to compile error:

seahorse-util.c: In function 'seahorse_util_write_file_private': 
seahorse-util.c:883: error: 'mode_t' undeclared (first use in this function)
seahorse-util.c:883: error: (Each undeclared identifier is reported only
once
seahorse-util.c:883: error: for each function it appears in.)
seahorse-util.c:883: error: syntax error before 'mask'
seahorse-util.c:885: error: 'mask' undeclared (first use in this function)

Attached patch adds the missing include.

Best regards
Matthias Ferdinand
--- libseahorse/seahorse-util.c.orig    2010-04-27 03:16:23.000000000 +0200
+++ libseahorse/seahorse-util.c 2010-07-27 14:46:49.000000000 +0200
@@ -48,6 +48,8 @@
 #include <errno.h>
 #include <glib/gi18n.h>
 
+#include <sys/types.h>
+
 static const gchar *bad_filename_chars = "/\\<>|";
 
 /**


Home | Main Index | Thread Index | Old Index