[118987] trunk/dports/gnome/totem
devans at macports.org
devans at macports.org
Mon Apr 14 12:10:16 PDT 2014
Revision: 118987
https://trac.macports.org/changeset/118987
Author: devans at macports.org
Date: 2014-04-14 12:10:16 -0700 (Mon, 14 Apr 2014)
Log Message:
-----------
totem: tone down compiler warnings, remove unrecognized warning flags that can break build on some platforms.
Modified Paths:
--------------
trunk/dports/gnome/totem/Portfile
Added Paths:
-----------
trunk/dports/gnome/totem/files/
trunk/dports/gnome/totem/files/patch-vala-cflags.diff
Modified: trunk/dports/gnome/totem/Portfile
===================================================================
--- trunk/dports/gnome/totem/Portfile 2014-04-14 19:04:47 UTC (rev 118986)
+++ trunk/dports/gnome/totem/Portfile 2014-04-14 19:10:16 UTC (rev 118987)
@@ -64,6 +64,8 @@
depends_run port:gnome-settings-daemon \
port:yelp
+patchfiles patch-vala-cflags.diff
+
# update m4/intltool.m4 and autoreconf
pre-configure {
@@ -73,9 +75,6 @@
use_autoreconf yes
autoreconf.args -fvi
-configure.cflags-append \
- -Wno-error=format-nonliteral
-
set withplugins apple-trailers,autoload-subtitles,chapters,dbusservice,im-status,gromit,media-player-keys,ontop,opensubtitles,properties,pythonconsole,recent,rotation,screensaver,screenshot,skipto,zeitgeist-dp,vimeo
if {[variant_isset nautilus]} {
@@ -87,6 +86,7 @@
--enable-browser-plugins=no \
--enable-introspection=yes \
--enable-debug \
+ --enable-compile-warnings=minimum \
--disable-python \
--enable-vala \
--disable-nautilus \
Added: trunk/dports/gnome/totem/files/patch-vala-cflags.diff
===================================================================
--- trunk/dports/gnome/totem/files/patch-vala-cflags.diff (rev 0)
+++ trunk/dports/gnome/totem/files/patch-vala-cflags.diff 2014-04-14 19:10:16 UTC (rev 118987)
@@ -0,0 +1,10 @@
+--- src/plugins/Makefile.plugins.orig 2014-04-14 11:52:18.000000000 -0700
++++ src/plugins/Makefile.plugins 2014-04-14 11:53:35.000000000 -0700
+@@ -36,7 +36,6 @@
+ # Disable some C warnings for Vala plugins which just create noise because the
+ # C code Vala generates is a little messy.
+ vala_plugin_cflags = \
+- -Wno-unused-but-set-variable \
+ -Wno-unused-variable \
+ -Wno-unused-function \
+ $(NULL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140414/161f348f/attachment.html>
More information about the macports-changes
mailing list