GNOME Bugzilla – Bug 135645
sys/cdrom/gstcdplayer_ioctl_bsd.h is broken in NetBSD
Last modified: 2004-12-22 21:47:04 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.
Created attachment 24879 [details] [review] Sample patch
Applied, thanks.