pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33770: [patch] multimedia/xine-lib does not build on FreeBSD



>Number:         33770
>Category:       pkg
>Synopsis:       [patch] multimedia/xine-lib does not build on FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 19 22:35:00 +0000 2006
>Originator:     Peter Schuller
>Release:        FreeBSD 6.1
>Organization:
>Environment:
FreeBSD scode.mine.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #4: Fri May 26 22:40:45 
CEST 2006     scode%scode.mine.nu@localhost:/usr/obj/usr/src/sys/PROMETHEUS  
i386

>Description:
xine-lib does not build on FreeBSD 6.1:

input_cdda.c: In function `read_cdrom_frames':
input_cdda.c:693: error: storage size of 'cdda' isn't known
input_cdda.c:710: error: `CDIOCREADAUDIO' undeclared (first use in this 
function)
input_cdda.c:710: error: (Each undeclared identifier is reported only once
input_cdda.c:710: error: for each function it appears in.)
input_cdda.c:693: warning: unused variable `cdda'

The reason is that SYS_PARAM_H is checked instead of HAVE_SYS_PARAM_H, which 
leads to __FreeBSD_version not being defined which in turn leads to the wrong 
code being chosen by the pre-processor.
>How-To-Repeat:

>Fix:
Patch is here:

   http://starfury.scode.org/pkgsrc/xine-lib.patch

The post-patch package has been tested to build on FreeBSD 6.1 and NetBSD 
3.0:ish.




Home | Main Index | Thread Index | Old Index