diff options
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 2 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c | 19 |
2 files changed, 12 insertions, 9 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index 9617f28e6..4b69a7ffb 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -7,7 +7,7 @@ PORTNAME= nautilus-cd-burner PORTVERSION= 2.8.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.8 diff --git a/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c index 3b779ea13..3b8b07293 100644 --- a/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c +++ b/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c @@ -1,5 +1,5 @@ ---- nautilus-cd-burner.c.orig Sun Sep 19 17:44:15 2004 -+++ nautilus-cd-burner.c Sun Oct 31 02:11:52 2004 +--- nautilus-cd-burner.c.orig Sun Sep 19 18:44:15 2004 ++++ nautilus-cd-burner.c Sun Oct 31 13:06:08 2004 @@ -21,6 +21,8 @@ Authors: Alexander Larsson <alexl@redhat.com> @@ -9,22 +9,25 @@ #include <gtk/gtk.h> #include <gtk/gtkfilesel.h> #include <gtk/gtkseparatormenuitem.h> -@@ -632,8 +634,17 @@ +@@ -632,8 +634,19 @@ } if (res == RESULT_RETRY) { -+ const char *path1; +- g_free (filename); +- filename = g_build_filename (g_get_tmp_dir (), "image.iso.XXXXXX", NULL); ++ gchar *path1; + -+ g_free (path1); -+ path1 = g_strdup_printf("%s/.ncb", g_get_home_dir()); ++ path1 = g_strdup_printf ("%s/.ncb", g_get_home_dir()); + + if (!g_file_test (path1, G_FILE_TEST_EXISTS)) { + mkdir (path1, 0700); + } + - g_free (filename); -- filename = g_build_filename (g_get_tmp_dir (), "image.iso.XXXXXX", NULL); ++ if (filename != NULL) { ++ g_free (filename); ++ } + filename = g_build_filename (path1, "image.iso.XXXXXX", NULL); ++ g_free (path1); fd = g_mkstemp(filename); close (fd); |