View | Details | Raw Unified | Return to bug 277115 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/cdrdao/Makefile (+2 lines)
Lines 1-5 Link Here
1
PORTNAME=	cdrdao
1
PORTNAME=	cdrdao
2
DISTVERSION=	1_2_5
2
DISTVERSION=	1_2_5
3
PORTREVISION=	1
3
CATEGORIES=	sysutils audio
4
CATEGORIES=	sysutils audio
4
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/rel_${DISTVERSION}/ \
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/rel_${DISTVERSION}/ \
5
		SF/${PORTNAME}/rel_${DISTVERSION}
6
		SF/${PORTNAME}/rel_${DISTVERSION}
Lines 21-26 CONFIGURE_ARGS= --with-gcdmaster=no \ Link Here
21
		--without-pcctsinc \
22
		--without-pcctsinc \
22
		--with-posix-threads=no \
23
		--with-posix-threads=no \
23
		--with-scglib
24
		--with-scglib
25
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
24
26
25
OPTIONS_DEFINE=		DOCS TOC2MP3 MP3OGG
27
OPTIONS_DEFINE=		DOCS TOC2MP3 MP3OGG
26
OPTIONS_DEFAULT=	MP3OGG
28
OPTIONS_DEFAULT=	MP3OGG
(-)b/sysutils/cdrdao/files/patch-dao_ScsiIf-freebsd-cam.cc (+17 lines)
Added Link Here
1
--- dao/ScsiIf-freebsd-cam.cc.orig	2023-01-25 14:30:35 UTC
2
+++ dao/ScsiIf-freebsd-cam.cc
3
@@ -125,8 +125,13 @@ int ScsiIf::sendCmd(const unsigned char *cmd, int cmdL
4
 	}
5
 	else if (dataIn && dataInLen > 0) {
6
 		data_ptr = dataIn;
7
-		data_len = dataInLen;
8
+		data_len = dataInLen + (dataInLen % 2);
9
 		flags = CAM_DIR_IN;
10
+	}
11
+	else {
12
+		data_len = 0;
13
+		data_ptr = (u_int8_t *)0;
14
+		flags = CAM_DIR_NONE;
15
 	}
16
 
17
 	cam_fill_csio(&impl_->ccb->csio,
(-)b/sysutils/cdrdao/pkg-plist (-5 / +4 lines)
Lines 4-13 bin/toc2cddb Link Here
4
bin/toc2cue
4
bin/toc2cue
5
%%TOC2MP3%%bin/toc2mp3
5
%%TOC2MP3%%bin/toc2mp3
6
@postunexec if [ -f %D/etc/cdrdao.conf ]; then echo "If permanently deleting this package, %D/etc/cdrdao.conf must be removed manually."; fi
6
@postunexec if [ -f %D/etc/cdrdao.conf ]; then echo "If permanently deleting this package, %D/etc/cdrdao.conf must be removed manually."; fi
7
man/man1/cdrdao.1.gz
7
share/man/man1/cdrdao.1.gz
8
man/man1/cue2toc.1.gz
8
share/man/man1/cue2toc.1.gz
9
man/man1/toc2cddb.1.gz
9
share/man/man1/toc2cddb.1.gz
10
man/man1/toc2cue.1.gz
10
share/man/man1/toc2cue.1.gz
11
%%DATADIR%%/drivers
11
%%DATADIR%%/drivers
12
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
12
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
13
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
13
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
14
- 

Return to bug 277115