Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199630 - gst-plugins-base-0.10.15 fails to build on FreeBSD
Summary: gst-plugins-base-0.10.15 fails to build on FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 05:41 UTC by Joe Peterson (RETIRED)
Modified: 2007-11-20 18:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/gst-plugins-base-0.10.15-netinet.patch (gst-plugins-base-0.10.15-netinet.patch,314 bytes, patch)
2007-11-19 05:42 UTC, Joe Peterson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2007-11-19 05:41:48 UTC
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 Joe Peterson (RETIRED) gentoo-dev 2007-11-19 05:42:56 UTC
Created attachment 136344 [details, diff]
files/gst-plugins-base-0.10.15-netinet.patch

Patch to fix this
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-11-19 16:38:30 UTC
Reported to upstream:

http://bugzilla.gnome.org/show_bug.cgi?id=498228
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2007-11-20 13:40:14 UTC
Note: patch has been accepted by upstream.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-11-20 17:07:25 UTC
go ahead and commit it then ;)
Comment 5 Joe Peterson (RETIRED) gentoo-dev 2007-11-20 18:26:02 UTC
OK, committed!  Thanks