GNOME Bugzilla – Bug 498228
gst-plugins-base-0.10.15 does not compile on FreeBSD (Gentoo)
Last modified: 2007-11-20 07:54:02 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:
Created attachment 99339 [details] [review] files/gst-plugins-base-0.10.15-netinet.patch This patch fixes it.
Patch by: Joe Peterson <lavajoe at gentoo dot org> * gst-libs/gst/sdp/gstsdpmessage.c: Fix compilation on FreeBSD (Gentoo). Fixes #498228.