GNOME Bugzilla – Bug 104966
FreeBSD compile problems
Last modified: 2004-12-22 21:47:04 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.
Created attachment 14013 [details] [review] Patch for synaescope and udpsrc
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).
Created attachment 14017 [details] [review] patch that does this
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
Is this going into HEAD?