Now, everytime you start gimp, you have:

$ gimp
(gimp:20379): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or 
filename flags (8) on option "debug-handlers" of type 0

This is a "fallout" of glib-2.28.

The following diff fixes it (and also regenerates patch-configure_in).

Ciao, 
David

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/gimp/stable/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile    3 Dec 2010 16:33:59 -0000       1.69
+++ Makefile    15 Apr 2011 20:03:14 -0000
@@ -3,6 +3,8 @@
 COMMENT=       GNU Image Manipulation Program
 
 DISTNAME=      gimp-2.6.11
+REVISION=      0
+
 SHARED_LIBS=   gimp-2.0        271.0   \
                gimpbase-2.0    271.0   \
                gimpcolor-2.0   271.0   \
Index: patches/patch-app_main_c
===================================================================
RCS file: patches/patch-app_main_c
diff -N patches/patch-app_main_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-app_main_c    15 Apr 2011 20:03:14 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- app/main.c.orig    Fri Apr 15 20:18:24 2011
++++ app/main.c Fri Apr 15 20:19:15 2011
+@@ -240,7 +240,7 @@ static const GOptionEntry main_entries[] =
+     N_("Debug in case of a crash (never|query|always)"), "<mode>"
+   },
+   {
+-    "debug-handlers", 0, G_OPTION_FLAG_NO_ARG,
++    "debug-handlers", 0, 0,
+     G_OPTION_ARG_NONE, &use_debug_handler,
+     N_("Enable non-fatal debugging signal handlers"), NULL
+   },
Index: patches/patch-configure_in
===================================================================
RCS file: /cvs/ports/graphics/gimp/stable/patches/patch-configure_in,v
retrieving revision 1.9
diff -u -p -r1.9 patch-configure_in
--- patches/patch-configure_in  8 Jul 2010 16:16:51 -0000       1.9
+++ patches/patch-configure_in  15 Apr 2011 20:03:14 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-configure_in,v 1.9 2010/07/08 16:16:51 giovanni Exp $
---- configure.in.orig  Mon Jun 21 21:20:20 2010
-+++ configure.in       Fri Jun 25 18:47:26 2010
+--- configure.in.orig  Sun Oct  3 14:04:42 2010
++++ configure.in       Fri Apr 15 20:17:58 2011
 @@ -421,14 +421,7 @@ AM_GLIB_GNU_GETTEXT
  ###########
  
@@ -27,7 +27,7 @@ $OpenBSD: patch-configure_in,v 1.9 2010/
      AC_MSG_RESULT(yes)], [
      AC_MSG_RESULT(no)
      AC_MSG_CHECKING(for isfinite in <math.h>)
-@@ -1143,10 +1137,10 @@ if test "x$with_libmng" != xno && test -z "$MNG_LIBS" 
+@@ -1146,10 +1140,10 @@ if test "x$with_libmng" != xno && test -z "$MNG_LIBS" 
     test -n "$PNG_LIBS" && test -n "$JPEG_LIBS" && test -n "$Z_LIBS"; then
    AC_CHECK_LIB(mng, mng_create,
      [AC_CHECK_HEADER(libmng.h, mng_ok=yes)],
@@ -40,7 +40,7 @@ $OpenBSD: patch-configure_in,v 1.9 2010/
    else
      have_libmng="no (MNG header file not found)"
    fi
-@@ -1325,19 +1319,9 @@ if test "x$with_gnomevfs" != xno; then
+@@ -1328,19 +1322,9 @@ if test "x$with_gnomevfs" != xno; then
  
  gnome_vfs_modules="gnome-vfs-2.0 >= gnome_vfs_required_version"
  

Reply via email to