diff options
author | marcus <marcus@FreeBSD.org> | 2012-02-13 00:56:13 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2012-02-13 00:56:13 +0800 |
commit | 86599aefb0a5d12c638243c0402db7388a2feb49 (patch) | |
tree | c838671b89167115cd6b8f7d8dfc0b4f1b9b1663 /sysutils/brasero | |
parent | 8e0f79376b51547600d9ccf614a0a0bf583914bb (diff) | |
download | freebsd-ports-gnome-86599aefb0a5d12c638243c0402db7388a2feb49.tar.gz freebsd-ports-gnome-86599aefb0a5d12c638243c0402db7388a2feb49.tar.zst freebsd-ports-gnome-86599aefb0a5d12c638243c0402db7388a2feb49.zip |
Fix detection of CDs in certain drives using ATAPI_CAM.
PR: 164927
Submitted by: Shin-ichi Okano <s-okano@n08.itscom.net>
Based on: sysutils/cdrecord
Diffstat (limited to 'sysutils/brasero')
-rw-r--r-- | sysutils/brasero/Makefile | 2 | ||||
-rw-r--r-- | sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index ff2c54293e9c..02f16b2b3f9e 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -7,7 +7,7 @@ PORTNAME= brasero PORTVERSION= 2.32.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c b/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c new file mode 100644 index 000000000000..74f10adc0ea4 --- /dev/null +++ b/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c @@ -0,0 +1,13 @@ +--- libbrasero-media/scsi-cam.c.orig 2012-02-11 21:16:20.000000000 -0500 ++++ libbrasero-media/scsi-cam.c 2012-02-11 21:17:13.000000000 -0500 +@@ -103,6 +103,10 @@ brasero_scsi_command_issue_sync (gpointe + else if (cmd->info->direction & BRASERO_SCSI_WRITE) + direction = CAM_DIR_OUT; + ++ if (size == 0) ++ direction = CAM_DIR_NONE; ++ direction |= CAM_DEV_QFRZDIS; ++ + g_assert (direction > -1); + + cam_fill_csio(&cam_ccb.csio, |