From 6cc65f729301a3b64a042f3207c35102737191ae Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 21 May 2003 02:57:51 +0000 Subject: 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 --- sysutils/nautilus-cd-burner/Makefile | 1 + 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 #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) { -- cgit v1.2.3