diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-21 10:57:51 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-21 10:57:51 +0800 |
commit | 6cc65f729301a3b64a042f3207c35102737191ae (patch) | |
tree | 635998f78dcda3262d0263abd5a40029fa13700c /sysutils | |
parent | 453a73f0858b649f50c30ed75e86bc9626364acb (diff) | |
download | marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar.gz marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar.bz2 marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar.lz marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar.xz marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.tar.zst marcuscom-ports-6cc65f729301a3b64a042f3207c35102737191ae.zip |
Fix a stupid mistake that would always cause the list of CD devices to
be NULL.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@783 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 1 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-drive.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index f68f60651..b089266d6 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -7,6 +7,7 @@ PORTNAME= nautilus-cd-burner PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4 diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c index 241e7c107..452a930fc 100644 --- a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c +++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c @@ -1,5 +1,5 @@ ---- cd-drive.c.orig Tue May 20 15:47:01 2003 -+++ cd-drive.c Tue May 20 17:55:56 2003 +--- cd-drive.c.orig Mon May 19 06:16:13 2003 ++++ cd-drive.c Tue May 20 22:57:34 2003 @@ -40,6 +40,12 @@ #include <scsi/sg.h> #endif /* __linux__ */ @@ -35,7 +35,7 @@ + + if (!g_file_test(dev, G_FILE_TEST_EXISTS)) { + g_free(dev); -+ return NULL; ++ break; + } + + if ((cam_dev = cam_open_spec_device(dev_type, i, O_RDWR, NULL)) == NULL) { |