Subject: pkg/33719: [patch] audio/cdparanoia - does not compile on modern FreeBSD:s
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter.schuller@infidyne.com>
List: pkgsrc-bugs
Date: 06/13/2006 17:25:00
>Number:         33719
>Category:       pkg
>Synopsis:       [patch] audio/cdparanoia - does not compile on modern FreeBSD:s
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 13 17:25:00 +0000 2006
>Originator:     Peter Schuller
>Release:        None, FreeBSD 6.1
>Organization:
>Environment:
>Description:
Apparantly CDIOCREADAUDIO was removed in FreeBSD 5.1-CURRENT at __FreeBSD_version >= 501106. As a result cdparanoid fails to compile:

cooked_interface.c: In function `cooked_read':
cooked_interface.c:251: error: storage size of 'arg' isn't known
cooked_interface.c:262: error: `CDIOCREADAUDIO' undeclared (first use in this function)
cooked_interface.c:262: error: (Each undeclared identifier is reported only once
cooked_interface.c:262: error: for each function it appears in.)

>How-To-Repeat:

>Fix:
The following patch incorporates some additional changes borrowed from the patches in FreeBSD ports to make it compile on newer FreeBSD systems:

   http://starfury.scode.org/pkgsrc/cdparanoia-freebsd.patch