pkgsrc/sysutils/xfce4-thunar/patches/patch-thunar-vfs_thunar-vfs-io-jobs.c
tez 9d7d6e67b1 Per PR#45871 Solaris derived OSs haven't DEFFILEMODE defined
so define it if it is not defined.

No bump, since this only changes a case where the package did not build.

Also, for the record, this version does not include the code vulnerable
to http://secunia.com/advisories/44104/ as that feature is not yet here.
2012-01-25 23:37:16 +00:00

17 lines
551 B
C

$NetBSD: patch-thunar-vfs_thunar-vfs-io-jobs.c,v 1.1 2012/01/25 23:37:17 tez Exp $
Per PR#45871 Solaris derived OSs haven't DEFFILEMODE defined
so define it if it is not defined.
--- thunar-vfs/thunar-vfs-io-jobs.c.orig 2012-01-25 23:28:41.920049200 +0000
+++ thunar-vfs/thunar-vfs-io-jobs.c
@@ -60,6 +60,9 @@
#endif
+#ifndef DEFFILEMODE
+#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
+#endif
static GList *tvij_collect_nofollow (ThunarVfsJob *job,
GList *base_path_list,