After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 135645 - sys/cdrom/gstcdplayer_ioctl_bsd.h is broken in NetBSD
sys/cdrom/gstcdplayer_ioctl_bsd.h is broken in NetBSD
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: Normal normal
: 0.7.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-27 23:10 UTC by Julio Merino
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch (828 bytes, patch)
2004-02-27 23:11 UTC, Julio Merino
none Details | Review

Description Julio Merino 2004-02-27 23:10:57 UTC
The sys/cdrom/gstcdplayer_ioctl_bsd.h file is broken in NetBSD by two 
different problems. 
 
First, it uses the CDIOREADTOCHDR macro, which is not defined.  Instead, 
its name is CDIOREADTOCHEADER.  A simple #define mapping the later name 
to the first lets this work properly. 
 
Second, it tries to use a member of a structure which does not really 
exist, because it has a different name and is nested inside another 
structure. 
 
The attached patch fixes both problems.  It's the same patch file found 
in NetBSD's pkgsrc, and it has been working fine for some time.
Comment 1 Julio Merino 2004-02-27 23:11:58 UTC
Created attachment 24879 [details] [review]
Sample patch
Comment 2 David Schleef 2004-02-27 23:39:10 UTC
Applied, thanks.