diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-10 07:46:44 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-10 07:46:44 +0800 |
commit | 0160d6cc5ad9c7882867610b9fea59aa8f1d4951 (patch) | |
tree | ab892b7531409ca4dcdcd897088cca838fb351b2 /sysutils | |
parent | dacf59b3594263b77a43b83f19b98f1db3451009 (diff) | |
download | marcuscom-ports-0160d6cc5ad9c7882867610b9fea59aa8f1d4951.tar.gz marcuscom-ports-0160d6cc5ad9c7882867610b9fea59aa8f1d4951.tar.zst marcuscom-ports-0160d6cc5ad9c7882867610b9fea59aa8f1d4951.zip |
Make sure audio CDs are reported as audio CDs.
Reported by: kwm and ankon on #freebsd-gnome
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4459 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 3 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c | 13 |
2 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index 54a0c4824..f36f1046a 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.69 2005/07/25 20:40:20 ahze Exp $ +# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.70 2005/08/06 01:59:15 marcus Exp $ # PORTNAME= nautilus-cd-burner PORTVERSION= 2.11.6 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 diff --git a/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c index 080e7694c..07b20dcce 100644 --- a/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c +++ b/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c @@ -1,5 +1,5 @@ ---- nautilus-burn-drive.c.orig Thu Jun 9 14:32:26 2005 -+++ nautilus-burn-drive.c Thu Jun 9 14:36:28 2005 +--- nautilus-burn-drive.c.orig Thu Aug 4 16:23:24 2005 ++++ nautilus-burn-drive.c Tue Aug 9 19:42:32 2005 @@ -48,6 +48,13 @@ #include <sys/cdio.h> #include <sys/cdrio.h> @@ -14,3 +14,12 @@ #endif /* __FreeBSD__ */ #ifdef HAVE_SYS_CDIO_H +@@ -484,7 +491,7 @@ get_disc_type (const char *dev_path) + entry.track++) { + entry.address_format = CD_LBA_FORMAT; + if (ioctl (fd, CDIOREADTOCENTRY, &entry) == 0) { +- if (entry.entry.control & CDROM_DATA_TRACK) { ++ if (!(entry.entry.control & CDROM_DATA_TRACK)) { + type = CDS_AUDIO; + break; + } |