mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
sysutils/knutclient-kde4, add debian patch to fix build with clang6
PR: 224669
This commit is contained in:
parent
440c06d79b
commit
b748e589ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459255
@ -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/ \
|
||||
|
25
sysutils/knutclient-kde4/files/patch-debian_git-6337fa
Normal file
25
sysutils/knutclient-kde4/files/patch-debian_git-6337fa
Normal file
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user