Revision: 140778 https://trac.macports.org/changeset/140778 Author: dstrubbe@macports.org Date: 2015-10-02 10:18:11 -0700 (Fri, 02 Oct 2015) Log Message: ----------- gstreamer1-gst-plugins-base: Fix build error with gcc 4.2 on OSX 10.6.8 as was discussed for gstreamer1 in #49013. Modified Paths: -------------- trunk/dports/gnome/gstreamer1-gst-plugins-base/Portfile Modified: trunk/dports/gnome/gstreamer1-gst-plugins-base/Portfile =================================================================== --- trunk/dports/gnome/gstreamer1-gst-plugins-base/Portfile 2015-10-02 16:23:22 UTC (rev 140777) +++ trunk/dports/gnome/gstreamer1-gst-plugins-base/Portfile 2015-10-02 17:18:11 UTC (rev 140778) @@ -51,6 +51,10 @@ --disable-xvideo \ --disable-xshm +#avoid this error: +#:info:build gstbasetextoverlay.c:1511: error: 'for' loop initial declaration used outside C99 mode +configure.cflags-append -std=c99 + variant x11 { depends_lib-append port:xorg-libice \ port:xorg-libsm \