Bug 199630 - gst-plugins-base-0.10.15 fails to build on FreeBSD
Bug#: 199630 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: FreeBSD Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gstreamer@gentoo.org Reported By: lavajoe@gentoo.org
Component: FreeBSD
URL: 
Summary: gst-plugins-base-0.10.15 fails to build on FreeBSD
Keywords:  
Status Whiteboard: 
Opened: 2007-11-19 05:41 0000
Description:   Opened: 2007-11-19 05:41 0000
gst-plugins-base-0.10.15/gst-libs/gst/sdp/gstsdpmessage.c will not compile on
FreeBSD, since netinet/in.h is not automatically included by netdb.h as it is
in Linux.

The patch simply includes netinet/in.h explicitly, which does not affect builds
(like Linux) which implicitly include it.

This should be also sent upstream.  Let me know if I should check in the patch.

------- Comment #1 From Joe Peterson 2007-11-19 05:42:56 0000 -------
Created an attachment (id=136344) [details]
files/gst-plugins-base-0.10.15-netinet.patch

Patch to fix this

------- Comment #2 From Joe Peterson 2007-11-19 16:38:30 0000 -------
Reported to upstream:

http://bugzilla.gnome.org/show_bug.cgi?id=498228

------- Comment #3 From Joe Peterson 2007-11-20 13:40:14 0000 -------
Note: patch has been accepted by upstream.

------- Comment #4 From Samuli Suominen 2007-11-20 17:07:25 0000 -------
go ahead and commit it then ;)

------- Comment #5 From Joe Peterson 2007-11-20 18:26:02 0000 -------
OK, committed!  Thanks