summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-30 10:06:41 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-30 10:06:41 +0800
commit8cd9edf9e577be5cfc584099b9785e6e67689af3 (patch)
tree0d88c0de07de9c90e890e1f0afc3223e0870d9a5 /sysutils
parente966ffd5b6505cf5340461549e4384d556f037d0 (diff)
downloadmarcuscom-ports-8cd9edf9e577be5cfc584099b9785e6e67689af3.tar.gz
marcuscom-ports-8cd9edf9e577be5cfc584099b9785e6e67689af3.tar.zst
marcuscom-ports-8cd9edf9e577be5cfc584099b9785e6e67689af3.zip
Correct a typo that could prevent obtaining a correct write speed.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1557 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nautilus-cd-burner/Makefile1
-rw-r--r--sysutils/nautilus-cd-burner/files/patch-cd-drive.c4
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. */