diff options
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 1 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-drive.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index 84eff9744..791b6664e 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -7,6 +7,7 @@ PORTNAME= nautilus-cd-burner PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6 diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c index 0612f018b..220d41b14 100644 --- a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c +++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c @@ -59,7 +59,7 @@ + if (wr_speed != NULL) { + char *tok; + wr_speed += strlen ("Maximum write speed:"); -+ for (tok = strtok (rd_speed, " (),\t\n"); ++ for (tok = strtok (wr_speed, " (),\t\n"); + tok && strcmp (tok, "CD"); + tok = strtok (NULL, " (),\t\n")) {} + tok = strtok (NULL, " (),\t\n"); /* Get the CD speed. */ @@ -70,7 +70,7 @@ + if (wr_speed != NULL) { + char *tok; + wr_speed += strlen ("Maximum write speed in kB/s:"); -+ for (tok = strtok (rd_speed, " (),\t\n"); ++ for (tok = strtok (wr_speed, " (),\t\n"); + tok && strcmp (tok, "CD"); + tok = strtok (NULL, " (),\t\n")) {} + tok = strtok (NULL, " (),\t\n"); /* Get the CD speed. */ |