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 104966 - FreeBSD compile problems
FreeBSD compile problems
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other other
: Normal normal
: 0.6.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-01 06:05 UTC by Erik Walthinsen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for synaescope and udpsrc (610 bytes, patch)
2003-02-01 06:06 UTC, Erik Walthinsen
none Details | Review
patch that does this (955 bytes, patch)
2003-02-01 12:12 UTC, Ronald Bultje
none Details | Review

Description Erik Walthinsen 2003-02-01 06:05:09 UTC
According to Andrew Turner <zxombie@hotpop.com>, FreeBSD dislikes the
malloc.h in synaescope.c, and requires netinet/in.h in gstudpsrc.c in order
to get struct sockaddr_in.  His patch is attached.
Comment 1 Erik Walthinsen 2003-02-01 06:06:01 UTC
Created attachment 14013 [details] [review]
Patch for synaescope and udpsrc
Comment 2 Ronald Bultje 2003-02-01 10:49:54 UTC
malloc.h doesn't seem needed in linux either. glib/galloca.h (part of
glib-2.0, included via "#include <glib.h>") contains macros that check
for which file to include, so including <glib.h> (which is done in
<gst/gst.h>) is enough. So the freeBSD #ifdef can be removed there.

Removing malloc.h and adding netinet/in.h makes it still compile fine
here (RH8).
Comment 3 Ronald Bultje 2003-02-01 12:12:14 UTC
Created attachment 14017 [details] [review]
patch that does this
Comment 4 Erik Walthinsen 2003-02-01 22:44:00 UTC
Applied slightly modified patch to get
gst-plugins/gst/synaesthesia/synaescope.c rev 1.3.16.1 and
gst-plugins/gst/udp/gstudpsrc.h rev 1.5.6.1
Comment 5 Andrew Turner 2003-02-26 00:50:23 UTC
Is this going into HEAD?