[118756] trunk/dports/gnome/gnumeric
devans at macports.org
devans at macports.org
Thu Apr 10 10:34:00 PDT 2014
Revision: 118756
https://trac.macports.org/changeset/118756
Author: devans at macports.org
Date: 2014-04-10 10:34:00 -0700 (Thu, 10 Apr 2014)
Log Message:
-----------
gnumeric: patch to fix build (#43241).
Modified Paths:
--------------
trunk/dports/gnome/gnumeric/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnumeric/files/
trunk/dports/gnome/gnumeric/files/patch-configure.ac.diff
Modified: trunk/dports/gnome/gnumeric/Portfile
===================================================================
--- trunk/dports/gnome/gnumeric/Portfile 2014-04-10 16:36:17 UTC (rev 118755)
+++ trunk/dports/gnome/gnumeric/Portfile 2014-04-10 17:34:00 UTC (rev 118756)
@@ -6,7 +6,7 @@
name gnumeric
version 1.12.8
-revision 2
+revision 3
set branch [join [lrange [split ${version} .] 0 1] .]
license GPL-2+
@@ -41,6 +41,8 @@
port:psiconv \
port:pxlib
+patchfiles patch-configure.ac.diff
+
# autoreconf to reconfigure using our intltool.m4
use_autoreconf yes
@@ -51,9 +53,6 @@
--enable-introspection \
--without-gda
-configure.cflags-append \
- -Wno-error=format-nonliteral
-
variant database description {builds with support for GDA database} {
depends_lib-append port:libgda5
configure.args-replace --without-gda --with-gda
Added: trunk/dports/gnome/gnumeric/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/gnumeric/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/gnome/gnumeric/files/patch-configure.ac.diff 2014-04-10 17:34:00 UTC (rev 118756)
@@ -0,0 +1,19 @@
+--- configure.ac.orig 2014-04-05 17:59:57.000000000 -0700
++++ configure.ac 2014-04-05 18:12:01.000000000 -0700
+@@ -254,11 +254,11 @@
+ AC_CHECK_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource$ac_exeext, gdk-pixbuf-csource$ac_exeext)
+
+ ## this should come after `AC_PROG_CC'
+-ifdef([GNOME_COMPILE_WARNINGS],
+- [GNOME_COMPILE_WARNINGS] CFLAGS="$CFLAGS $WARN_CFLAGS",
+- []
+-)
+-set_more_warnings=yes
++dnl ifdef([GNOME_COMPILE_WARNINGS],
++dnl [GNOME_COMPILE_WARNINGS] CFLAGS="$CFLAGS $WARN_CFLAGS",
++dnl []
++dnl)
++set_more_warnings=no
+ if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
+ dnl Clang needs this option, or else it will appear to support any
+ dnl warning option, only to spew warnings about them later.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140410/af4618e9/attachment.html>
More information about the macports-changes
mailing list