Changeset 118364 for trunk/dports


Ignore:
Timestamp:
Mar 31, 2014, 10:45:19 PM (10 years ago)
Author:
devans@…
Message:

gtksourceview: autoreconf to fix intltool configuration, add build fix, update build deps.

Location:
trunk/dports/gnome/gtksourceview
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gtksourceview/Portfile

    r115050 r118364  
    2828
    2929depends_build   port:intltool \
    30                 port:pkgconfig
     30                port:pkgconfig \
     31                port:gnome-common \
     32                port:gtk-doc
    3133
    3234depends_lib     port:gtk2 \
     
    3840                port:gnuregex
    3941
    40 patchfiles      patch-glib-2.32.diff patch-gtksourceregex.c.diff
     42patchfiles      patch-glib-2.32.diff \
     43                patch-gtksourceregex.c.diff \
     44                patch-gtksourcelanguage.c.diff
    4145
    42 configure.args  --enable-gnuregex
     46# autoreconf to reconfigure with our intltool.m4
    4347
    44 configure.cppflags-append   -L${prefix}/lib
     48use_autoreconf  yes
     49autoreconf.args -fvi
     50
     51#test-widget.c:186:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
     52#        tmp = g_strdup_vprintf (msg, ap);
     53#                                ^~~
     54#test-widget.c:193:7: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
     55#                                         tmp);
     56#                                          ^~~
     57# TODO: fix code rather than suppress fatal error
     58
     59configure.cflags-append \
     60                -Wno-error=format-nonliteral -Wno-error=format-security
    4561
    4662livecheck.type  regex
  • trunk/dports/gnome/gtksourceview/files/patch-gtksourceregex.c.diff

    r33068 r118364  
    1 --- gtksourceview/gtksourceregex.c.org  Fri Nov 28 11:23:58 2003
    2 +++ gtksourceview/gtksourceregex.c      Fri Nov 28 11:24:18 2003
     1--- gtksourceview/gtksourceregex.c.orig 2007-01-03 07:40:28.000000000 -0800
     2+++ gtksourceview/gtksourceregex.c      2014-03-31 13:12:04.000000000 -0700
    33@@ -26,12 +26,7 @@
    44 #include <stdlib.h>
     
    1010-#else
    1111-#include "gnu-regex/regex.h"
     12-#endif
    1213+#include <gnuregex.h>
    13 -#endif
    1414 
    15  #include "gtksourceview-i18n.h"
    1615 #include "gtksourceregex.h"
     16 
Note: See TracChangeset for help on using the changeset viewer.