From owner-svn-ports-head@freebsd.org Sat Oct 22 23:20:22 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3A29C1D9C2; Sat, 22 Oct 2016 23:20:22 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 972481DA; Sat, 22 Oct 2016 23:20:22 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9MNKLnI067608; Sat, 22 Oct 2016 23:20:21 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9MNKL6t067605; Sat, 22 Oct 2016 23:20:21 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201610222320.u9MNKL6t067605@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sat, 22 Oct 2016 23:20:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424491 - in head/x11-themes: qtcurve qtcurve-gtk2 qtcurve/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 23:20:23 -0000 Author: jhale Date: Sat Oct 22 23:20:21 2016 New Revision: 424491 URL: https://svnweb.freebsd.org/changeset/ports/424491 Log: - Fix NULL pointer dereference in gtkDrawFlatBox() in x11-themes/qtcurve-gtk2 [1] - Set LICENSE - Take maintainership of the qtcurve ports PR: 211391 [1] Submitted by: [1] Added: head/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c (contents, props changed) Modified: head/x11-themes/qtcurve-gtk2/Makefile head/x11-themes/qtcurve/Makefile Modified: head/x11-themes/qtcurve-gtk2/Makefile ============================================================================== --- head/x11-themes/qtcurve-gtk2/Makefile Sat Oct 22 21:47:28 2016 (r424490) +++ head/x11-themes/qtcurve-gtk2/Makefile Sat Oct 22 23:20:21 2016 (r424491) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= qtcurve -PORTREVISION= 0 +PORTREVISION= 1 COMMENT= QtCurve GTK+ 2.x engine and theme Modified: head/x11-themes/qtcurve/Makefile ============================================================================== --- head/x11-themes/qtcurve/Makefile Sat Oct 22 21:47:28 2016 (r424490) +++ head/x11-themes/qtcurve/Makefile Sat Oct 22 23:20:21 2016 (r424491) @@ -4,7 +4,7 @@ PORTNAME= qtcurve PORTVERSION= 1.8.18 CATEGORIES= x11-themes -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jhale@FreeBSD.org COMMENT?= Widget styles for Qt and GTK+ toolkits .if !defined(QTCURVE_SLAVE) @@ -21,6 +21,9 @@ QT4_RUN_DEPENDS= qt4-style-qtcurve>=1.8. QT5_RUN_DEPENDS= qt5-style-qtcurve>=1.8.18:x11-themes/qtcurve-qt5 .else # !defined(QTCURVE_SLAVE) +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + USE_GITHUB= yes GH_ACCOUNT= QtCurve Added: head/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c Sat Oct 22 23:20:21 2016 (r424491) @@ -0,0 +1,11 @@ +--- gtk2/style/qtcurve.c.orig 2014-01-25 20:13:54 UTC ++++ gtk2/style/qtcurve.c +@@ -372,7 +372,7 @@ gtkDrawFlatBox(GtkStyle *style, GdkWindo + } else if (!(qtSettings.app == GTK_APP_JAVA && widget && + GTK_IS_LABEL(widget))) { + if (state != GTK_STATE_PRELIGHT || opts.crHighlight || +- strcmp(detail, "checkbutton") != 0) { ++ ( detail != NULL && strcmp(detail, "checkbutton") != 0 )) { + parent_class->draw_flat_box(style, window, state, shadow, area, + widget, detail, x, y, width, height); + }