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 498228 - gst-plugins-base-0.10.15 does not compile on FreeBSD (Gentoo)
gst-plugins-base-0.10.15 does not compile on FreeBSD (Gentoo)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.15
Other FreeBSD
: Normal blocker
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-19 16:36 UTC by Joe Peterson
Modified: 2007-11-20 07:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
files/gst-plugins-base-0.10.15-netinet.patch (314 bytes, patch)
2007-11-19 16:37 UTC, Joe Peterson
committed Details | Review

Description Joe Peterson 2007-11-19 16:36:17 UTC
Please describe the problem:
gst-libs/gst/sdp/gstsdpmessage.c fails to compile on FreeBSD due to not including the header file <netinet/in.h> (resulting in missing defines like IN_MULTICAST).  On Linux, this is included by <netdb.h>, but on FreeBSD it needs to be included explicitly.  Adding this include should not affect Linux.

We are specifically building in Gentoo/FreeBSD, but I suspect regular FreeBSD would have this issue too.


Steps to reproduce:
1. Try to build on FreeBSD
2. 
3. 


Actual results:
compile fails

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Joe Peterson 2007-11-19 16:37:19 UTC
Created attachment 99339 [details] [review]
files/gst-plugins-base-0.10.15-netinet.patch

This patch fixes it.
Comment 2 Wim Taymans 2007-11-20 07:54:02 UTC
        Patch by: Joe Peterson <lavajoe at gentoo dot org>

        * gst-libs/gst/sdp/gstsdpmessage.c:
        Fix compilation on FreeBSD (Gentoo). Fixes #498228.