aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2016-10-23 07:20:21 +0800
committerjhale <jhale@FreeBSD.org>2016-10-23 07:20:21 +0800
commit9d5ff753c4987b6de16c246c38d372a6c25f0552 (patch)
treeb489cb8e0350cb25c1df7512711a05f56ec56526 /x11-themes
parent71991b453f8e780e15bab555b519a318e7efca2f (diff)
downloadfreebsd-ports-gnome-9d5ff753c4987b6de16c246c38d372a6c25f0552.tar.gz
freebsd-ports-gnome-9d5ff753c4987b6de16c246c38d372a6c25f0552.tar.zst
freebsd-ports-gnome-9d5ff753c4987b6de16c246c38d372a6c25f0552.zip
- 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: <f.degner@gmx.de> [1]
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/qtcurve-gtk2/Makefile2
-rw-r--r--x11-themes/qtcurve/Makefile5
-rw-r--r--x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c11
3 files changed, 16 insertions, 2 deletions
diff --git a/x11-themes/qtcurve-gtk2/Makefile b/x11-themes/qtcurve-gtk2/Makefile
index 8b01351a3296..01bf349b5b9a 100644
--- a/x11-themes/qtcurve-gtk2/Makefile
+++ b/x11-themes/qtcurve-gtk2/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qtcurve
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= QtCurve GTK+ 2.x engine and theme
diff --git a/x11-themes/qtcurve/Makefile b/x11-themes/qtcurve/Makefile
index b5794ad11a06..bdf7b266cdf9 100644
--- a/x11-themes/qtcurve/Makefile
+++ b/x11-themes/qtcurve/Makefile
@@ -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.18:x11-themes/qtcurve-qt4
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
diff --git a/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c b/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c
new file mode 100644
index 000000000000..800e3dfffd0a
--- /dev/null
+++ b/x11-themes/qtcurve/files/patch-gtk2_style_qtcurve.c
@@ -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);
+ }