svn commit: r459255 - in head/sysutils/knutclient-kde4: . files

Tobias C. Berner tcberner at FreeBSD.org
Wed Jan 17 13:51:57 UTC 2018


Author: tcberner
Date: Wed Jan 17 13:51:55 2018
New Revision: 459255
URL: https://svnweb.freebsd.org/changeset/ports/459255

Log:
  sysutils/knutclient-kde4, add debian patch to fix build with clang6
  
  PR:		224669

Added:
  head/sysutils/knutclient-kde4/files/
  head/sysutils/knutclient-kde4/files/patch-debian_git-6337fa   (contents, props changed)
Modified:
  head/sysutils/knutclient-kde4/Makefile

Modified: head/sysutils/knutclient-kde4/Makefile
==============================================================================
--- head/sysutils/knutclient-kde4/Makefile	Wed Jan 17 13:44:16 2018	(r459254)
+++ head/sysutils/knutclient-kde4/Makefile	Wed Jan 17 13:51:55 2018	(r459255)
@@ -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/ \

Added: head/sysutils/knutclient-kde4/files/patch-debian_git-6337fa
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/knutclient-kde4/files/patch-debian_git-6337fa	Wed Jan 17 13:51:55 2018	(r459255)
@@ -0,0 +1,25 @@
+From 6337fac6fe3c566ffb61a2b4fe99f7d130915d90 Mon Sep 17 00:00:00 2001
+From: Dmitry Smirnov <onlyjob at 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 at 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 );
+


More information about the svn-ports-head mailing list