From 3b4ed5a905f7ca4ccebe84741c89494ad10cd61e Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 5 Sep 2005 18:06:10 +0000 Subject: This patch is no longer needed since this problem was fixed in a better way. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4715 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-fm/nautilus/Makefile | 3 +- ...-libnautilus-private_nautilus-file-operations.c | 35 ---------------------- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 x11-fm/nautilus/files/patch-libnautilus-private_nautilus-file-operations.c (limited to 'x11-fm/nautilus') diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index 8a6a94ad9..20e19e337 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -3,11 +3,12 @@ # Whom: ade, archie # # $FreeBSD$ -# $MCom: ports/x11-fm/nautilus2/Makefile,v 1.87 2005/08/23 03:03:32 marcus Exp $ +# $MCom: ports/x11-fm/nautilus2/Makefile,v 1.88 2005/09/05 15:24:41 kwm Exp $ # PORTNAME= nautilus2 PORTVERSION= 2.12.0 +PORTREVISION= 1 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.12 diff --git a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-file-operations.c b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-file-operations.c deleted file mode 100644 index d6465800a..000000000 --- a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-file-operations.c +++ /dev/null @@ -1,35 +0,0 @@ ---- libnautilus-private/nautilus-file-operations.c.orig Thu Aug 25 10:28:10 2005 -+++ libnautilus-private/nautilus-file-operations.c Mon Sep 5 17:09:55 2005 -@@ -2481,12 +2481,22 @@ - gpointer data) - { - struct NewFileData *new_data; -- char source_file_str[] = "/tmp/nautilus-sourceXXXXXX"; -+ char *source_file_str; - char *source_file_uri; -+ GnomeVFSURI *parent_uri; - FILE *source_file; - char *target_filename; - int fd; - -+ parent_uri = gnome_vfs_uri_new (parent_dir); -+ if (parent_uri == NULL) { -+ (*done_callback) (NULL, data); -+ return; -+ } -+ -+ source_file_str = g_build_filename (gnome_vfs_uri_get_path (parent_uri), -+ "nautilus-sourceXXXXXX", NULL); -+ - fd = mkstemp (source_file_str); - if (fd == -1) { - (*done_callback) (NULL, data); -@@ -2518,6 +2528,8 @@ - new_file_from_temp_callback, - new_data); - -+ gnome_vfs_uri_unref (parent_uri); -+ g_free (source_file_str); - g_free (source_file_uri); - g_free (target_filename); - } -- cgit v1.2.3