diff options
author | danw <danw> | 2004-05-11 12:30:15 +0000 |
---|---|---|
committer | danw <danw> | 2004-05-11 12:30:15 +0000 |
commit | 6fcd0d524ef5d9308ed4075b398ea6fe4dd3e933 (patch) | |
tree | 52b09fe3ce49793de9ba3b3a3df49c84712bced3 /sysutils/nautilus/patches | |
parent | 991bf234c5a02eee91071471002a21fb626d4ad0 (diff) | |
download | pkgsrc-6fcd0d524ef5d9308ed4075b398ea6fe4dd3e933.tar.gz |
fixes for darwin
Diffstat (limited to 'sysutils/nautilus/patches')
-rw-r--r-- | sysutils/nautilus/patches/patch-ah | 14 | ||||
-rw-r--r-- | sysutils/nautilus/patches/patch-ai | 16 |
2 files changed, 25 insertions, 5 deletions
diff --git a/sysutils/nautilus/patches/patch-ah b/sysutils/nautilus/patches/patch-ah index e5556e4ac03..e12c0cf2e5b 100644 --- a/sysutils/nautilus/patches/patch-ah +++ b/sysutils/nautilus/patches/patch-ah @@ -1,8 +1,8 @@ -$NetBSD: patch-ah,v 1.1 2004/02/21 06:42:37 xtraeme Exp $ +$NetBSD: patch-ah,v 1.2 2004/05/11 12:30:15 danw Exp $ ---- libnautilus-private/nautilus-emblem-utils.c.orig Sun Feb 1 13:22:13 2004 -+++ libnautilus-private/nautilus-emblem-utils.c Sun Feb 1 13:22:46 2004 -@@ -23,7 +23,9 @@ +--- libnautilus-private/nautilus-emblem-utils.c.orig Thu Dec 18 12:19:39 2003 ++++ libnautilus-private/nautilus-emblem-utils.c +@@ -23,10 +23,12 @@ */ #include <config.h> @@ -10,6 +10,10 @@ $NetBSD: patch-ah,v 1.1 2004/02/21 06:42:37 xtraeme Exp $ +#ifdef __FreeBSD__ +#include <sys/types.h> +#endif ++#include <time.h> #include <utime.h> #include <stdio.h> - #include <time.h> +-#include <time.h> + #include <unistd.h> + #include "nautilus-icon-factory.h" + #include <eel/eel-string.h> diff --git a/sysutils/nautilus/patches/patch-ai b/sysutils/nautilus/patches/patch-ai new file mode 100644 index 00000000000..0879c25d5d3 --- /dev/null +++ b/sysutils/nautilus/patches/patch-ai @@ -0,0 +1,16 @@ +$NetBSD: patch-ai,v 1.1 2004/05/11 12:30:15 danw Exp $ + +--- libnautilus-private/nautilus-program-choosing.c.orig Tue Apr 13 20:45:27 2004 ++++ libnautilus-private/nautilus-program-choosing.c +@@ -71,6 +71,11 @@ typedef struct { + + static GHashTable *choose_application_hash_table, *choose_component_hash_table; + ++#if defined(__APPLE__) ++#include <crt_externs.h> ++#define environ (*_NSGetEnviron()) ++#endif ++ + extern char **environ; + + /* Cut and paste from gdkspawn-x11.c */ |