svn commit: r437293 - head/x11-toolkits/gtk30

Jan Beich jbeich at FreeBSD.org
Thu Mar 30 14:03:00 UTC 2017


Author: jbeich
Date: Thu Mar 30 14:02:58 2017
New Revision: 437293
URL: https://svnweb.freebsd.org/changeset/ports/437293

Log:
  x11-toolkits/gtk30: prefer warnings over crashes on bad behavior
  
  devel/glib20 and x11-toolkits/gtk20 don't use --disable-debug.
  Neither does gtk3 package on Debian or ArchLinux.
  
  https://bugzilla.mozilla.org/show_bug.cgi?id=1351246#c9
  
    $ cat >a.c
    #include <gdk/gdk.h>
    int main() {
      gdk_get_default_root_window();
      return 0;
    }
  
    $ cc a.c $(pkg-config --cflags --libs gtk+-3.0)
  
    $ ./a.out
    Segmentation fault
  
    vs. (new behavior)
  
    $ ./a.out
    (process:40995): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
  
  Pointy hat to:	kwm (r372768 broke consistency)

Modified:
  head/x11-toolkits/gtk30/Makefile   (contents, props changed)

Modified: head/x11-toolkits/gtk30/Makefile
==============================================================================
--- head/x11-toolkits/gtk30/Makefile	Thu Mar 30 13:59:44 2017	(r437292)
+++ head/x11-toolkits/gtk30/Makefile	Thu Mar 30 14:02:58 2017	(r437293)
@@ -5,7 +5,7 @@
 
 PORTNAME=	gtk
 PORTVERSION=	3.18.8
-PORTREVISION?=	3
+PORTREVISION?=	4
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
 PKGNAMESUFFIX=	3
@@ -73,7 +73,7 @@ CLOUDPRINT_CONFIGURE_ENABLE=	cloudprint
 CLOUDPRINT_LIB_DEPENDS=	librest-0.7.so:devel/librest \
 			libjson-glib-1.0.so:devel/json-glib
 
-DEBUG_CONFIGURE_ENABLE=debug
+DEBUG_CONFIGURE_ON=	--enable-debug=yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \


More information about the svn-ports-all mailing list