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 768623 - udpsrc: There is no struct in_pktinfo on FreeBSD
udpsrc: There is no struct in_pktinfo on FreeBSD
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other FreeBSD
: Normal normal
: 1.8.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-10 04:06 UTC by Ting-Wei Lan
Modified: 2016-07-11 06:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ting-Wei Lan 2016-07-10 04:06:51 UTC
Error found when compiling gst/udp/gstudpsrc.c:

  CC       libgstudp_la-gstudpsrc.lo
gstudpsrc.c:288:14: error: invalid application of 'sizeof' to an incomplete type 'struct in_pktinfo'
  if (size < sizeof (struct in_pktinfo))
             ^      ~~~~~~~~~~~~~~~~~~~
gstudpsrc.c:288:29: note: forward declaration of 'struct in_pktinfo'
  if (size < sizeof (struct in_pktinfo))
                            ^
Comment 1 Sebastian Dröge (slomo) 2016-07-10 18:31:14 UTC
commit ccdd76fd1882b7ede3e9e9143365e061a850b4b7
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sun Jul 10 21:30:27 2016 +0300

    udpsrc: Use correct in6_pktinfo struct instead of in_pktinfo
    
    Fixes the build on FreeBSD, which does not have the latter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768623