diff options
author | marcus <marcus@FreeBSD.org> | 2006-11-21 07:16:21 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-11-21 07:16:21 +0800 |
commit | 4e2ea3baa3fcdcd738766624b86fd9c81b2d9eaf (patch) | |
tree | 46cb212d558ebbd5d3235f8d310c4ef151e8ddfd /sysutils | |
parent | 2d1aa11dbe4b40dc96f5f4acc8d753c057309c1c (diff) | |
download | freebsd-ports-gnome-4e2ea3baa3fcdcd738766624b86fd9c81b2d9eaf.tar.gz freebsd-ports-gnome-4e2ea3baa3fcdcd738766624b86fd9c81b2d9eaf.tar.zst freebsd-ports-gnome-4e2ea3baa3fcdcd738766624b86fd9c81b2d9eaf.zip |
Fix arguments to growisofs and dvd+rw-format. These commands can open device
files.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 2 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-recorder.c | 35 |
2 files changed, 3 insertions, 34 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index ec1aefb1a44c..a63e933d2b75 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -8,7 +8,7 @@ PORTNAME= nautilus-cd-burner PORTVERSION= 2.16.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-recorder.c b/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-recorder.c index 6d811ffd71b7..186f433fb659 100644 --- a/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-recorder.c +++ b/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-recorder.c @@ -1,18 +1,5 @@ ---- src/nautilus-burn-recorder.c.orig Sun Nov 19 13:39:57 2006 -+++ src/nautilus-burn-recorder.c Sun Nov 19 13:40:58 2006 -@@ -1153,10 +1153,10 @@ nautilus_burn_recorder_write_growisofs ( - - dev_str = NULL; - if (t->type == NAUTILUS_BURN_RECORDER_TRACK_TYPE_DATA) { -- dev_str = g_strdup_printf ("%s=%s", nautilus_burn_drive_get_device (drive), t->contents.data.filename); -+ dev_str = g_strdup_printf ("%s=%s", nautilus_burn_drive_get_cdrecord_device (drive), t->contents.data.filename); - g_ptr_array_add (argv, dev_str); - } else { -- g_ptr_array_add (argv, (char *)nautilus_burn_drive_get_device (drive)); -+ g_ptr_array_add (argv, (char *)nautilus_burn_drive_get_cdrecord_device (drive)); - - /* mkisofs options */ - if (ncb_mkisofs_supports_utf8 ()) { +--- src/nautilus-burn-recorder.c.orig Fri Sep 29 14:18:37 2006 ++++ src/nautilus-burn-recorder.c Mon Nov 20 18:13:24 2006 @@ -1343,7 +1343,7 @@ nautilus_burn_recorder_write_cdrecord (N g_ptr_array_add (argv, "cdrdao"); g_ptr_array_add (argv, "write"); @@ -40,21 +27,3 @@ g_ptr_array_add (argv, dev_str); g_ptr_array_add (argv, "-v"); -@@ -1560,7 +1560,7 @@ nautilus_burn_recorder_blank_disc_dvdrw_ - g_ptr_array_add (argv, "growisofs"); - g_ptr_array_add (argv, "-Z"); - -- dev_str = g_strdup_printf ("%s=%s", nautilus_burn_drive_get_device (drive), "/dev/zero"); -+ dev_str = g_strdup_printf ("%s=%s", nautilus_burn_drive_get_cdrecord_device (drive), "/dev/zero"); - g_ptr_array_add (argv, dev_str); - g_ptr_array_add (argv, NULL); - -@@ -1583,7 +1583,7 @@ nautilus_burn_recorder_blank_disc_dvdrw_ - g_ptr_array_add (argv, blank_str); - } - -- dev_str = g_strdup_printf ("%s", nautilus_burn_drive_get_device (drive)); -+ dev_str = g_strdup_printf ("%s", nautilus_burn_drive_get_cdrecord_device (drive)); - g_ptr_array_add (argv, dev_str); - g_ptr_array_add (argv, NULL); - |