Revision: 140712 https://trac.macports.org/changeset/140712 Author: devans@macports.org Date: 2015-09-30 12:17:08 -0700 (Wed, 30 Sep 2015) Log Message: ----------- gstreamer1: include sys/socket.h as required, addresses build issue on 10.8 and earlier (#49012). Modified Paths: -------------- trunk/dports/gnome/gstreamer1/Portfile Added Paths: ----------- trunk/dports/gnome/gstreamer1/files/ trunk/dports/gnome/gstreamer1/files/patch-struct-sockadr.diff Modified: trunk/dports/gnome/gstreamer1/Portfile =================================================================== --- trunk/dports/gnome/gstreamer1/Portfile 2015-09-30 18:52:09 UTC (rev 140711) +++ trunk/dports/gnome/gstreamer1/Portfile 2015-09-30 19:17:08 UTC (rev 140712) @@ -43,6 +43,8 @@ conflicts_build check +patchfiles patch-struct-sockadr.diff + # global_symbol_pipe gets set to "" on Leopard use_autoreconf yes autoreconf.args -fvi Added: trunk/dports/gnome/gstreamer1/files/patch-struct-sockadr.diff =================================================================== --- trunk/dports/gnome/gstreamer1/files/patch-struct-sockadr.diff (rev 0) +++ trunk/dports/gnome/gstreamer1/files/patch-struct-sockadr.diff 2015-09-30 19:17:08 UTC (rev 140712) @@ -0,0 +1,20 @@ +--- configure.ac.orig 2015-09-30 10:39:38.000000000 -0700 ++++ configure.ac 2015-09-30 10:44:23.000000000 -0700 +@@ -349,6 +349,7 @@ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ + #include <ifaddrs.h> ++ #include <sys/socket.h> + #include <net/if.h> + #include <net/if_dl.h> + ]], +--- libs/gst/helpers/gst-ptp-helper.c.orig 2015-09-30 10:58:52.000000000 -0700 ++++ libs/gst/helpers/gst-ptp-helper.c 2015-09-30 10:59:45.000000000 -0700 +@@ -37,6 +37,7 @@ + #include <sys/types.h> + #include <errno.h> + #include <sys/ioctl.h> ++#include <sys/socket.h> + #include <net/if.h> + #include <netinet/in.h> + #include <string.h>