ports/126955: [PATCH]sysutils/cdrtools-devel: fix build problems when audio/cdparanoia is installed

bf bf2006a at yahoo.com
Fri Aug 29 16:40:02 UTC 2008


>Number:         126955
>Category:       ports
>Synopsis:       [PATCH]sysutils/cdrtools-devel: fix build problems when audio/cdparanoia is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 16:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        
>Organization:
>Environment:
>Description:
sysutils/cdrtools-devel includes an incompatible cdda_paranoia.h from audio/cdparanoia port instead of it's own bundled header, causing a build failure.  To avoid this, rename the bundled header and the statements using it.  I was going to submit this with an update to 2.01.01a47, but changes in the gettext and iconv handling in the new version require additional patching, and I don't have the time to attend to it now.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN cdrtools-devel.orig/Makefile cdrtools-devel/Makefile
--- cdrtools-devel.orig/Makefile	2008-08-29 10:45:41.893399648 -0400
+++ cdrtools-devel/Makefile	2008-08-29 12:12:26.383386504 -0400
@@ -130,6 +130,10 @@
 #	@${REINPLACE_CMD} -E -e \
 #		's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
 #		${WRKSRC}/cdrecord/cdrecord.c
+	${FIND} -X ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \
+	-e 's|cdda_paranoia.h|schily_cdda_paranoia.h|g'
+	${MV} ${WRKSRC}/libparanoia/cdda_paranoia.h ${WRKSRC}/libparanoia/schily_cdda_paranoia.h
+
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list