aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-01-17 13:51:55 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-01-17 13:51:55 +0000
commitb748e589eaa77da3eb8315e4c42975740cfac881 (patch)
tree821bf8446b74fb17e117825a8372be019bf2ba11
parent440c06d79bd2016850f80cdb85a8bcbe865ccc2c (diff)
Notes
-rw-r--r--sysutils/knutclient-kde4/Makefile2
-rw-r--r--sysutils/knutclient-kde4/files/patch-debian_git-6337fa25
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/knutclient-kde4/Makefile b/sysutils/knutclient-kde4/Makefile
index 25f13b226fbf..270418d2a3c2 100644
--- a/sysutils/knutclient-kde4/Makefile
+++ b/sysutils/knutclient-kde4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= knutclient
PORTVERSION= 1.0.4
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= sysutils kde
MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \
http://www.ringofsaturn.com/distfiles/ \
diff --git a/sysutils/knutclient-kde4/files/patch-debian_git-6337fa b/sysutils/knutclient-kde4/files/patch-debian_git-6337fa
new file mode 100644
index 000000000000..c4ba483eccd8
--- /dev/null
+++ b/sysutils/knutclient-kde4/files/patch-debian_git-6337fa
@@ -0,0 +1,25 @@
+From 6337fac6fe3c566ffb61a2b4fe99f7d130915d90 Mon Sep 17 00:00:00 2001
+From: Dmitry Smirnov <onlyjob@member.fsf.org>
+Date: Sun, 21 Aug 2016 13:53:44 +1000
+Subject: New patch to fix FTBFS with gcc 6 (Closes: #811882).
+
+ Thanks, Adrian Bunk.
+
+ Description: Fix the build with gcc 6
+ Author: Adrian Bunk <bunk@stusta.de>
+ Bug-Debian: https://bugs.debian.org/811882
+
+--- src/knutprefdlg.cpp
++++ src/knutprefdlg.cpp
+@@ -957,9 +957,9 @@
+
+ QHBoxLayout *setFontLayout = new QHBoxLayout();
+ QStringList fontsList;
+ KFontChooser::getFontList(fontsList, KFontChooser::SmoothScalableFonts);
+- m_fontWidget = new KFontChooser(mainPageWidget, false, fontsList);
++ m_fontWidget = new KFontChooser(mainPageWidget, KFontChooser::NoDisplayFlags, fontsList);
+ setFontLayout->addWidget (m_fontWidget ,0);
+ topLayout->addLayout(setFontLayout);
+
+ topLayout->addStretch( 20 );
+