multimedia/k9copy-kde4: Fix build on 10.3

* the fix to build with clang6 was not compatible with 10.3

Pointy-hat to:	tcberner
Reported by:	antoine
This commit is contained in:
Tobias C. Berner 2018-01-21 20:01:59 +00:00
parent 1d26e4bf2b
commit 930823782e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459626
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= k9copy PORTNAME= k9copy
PORTVERSION= 2.3.4 PORTVERSION= 2.3.4
PORTREVISION= 16 PORTREVISION= 17
CATEGORIES= multimedia kde CATEGORIES= multimedia kde
MASTER_SITES= LOCAL/rakuco MASTER_SITES= LOCAL/rakuco
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source DISTNAME= ${PORTNAME}-${PORTVERSION}-Source

View file

@ -9,7 +9,7 @@ src/core/k9tools.cpp:59:54: error: no viable conversion from 'bool'
return false; return false;
#else #else
- bool res= KStandardDirs::findExe( _progName,NULL,false) !=NULL ; - bool res= KStandardDirs::findExe( _progName,NULL,false) !=NULL ;
+ bool res= KStandardDirs::findExe( _progName,NULL, KStandardDirs::SearchOption::NoSearchOptions) !=NULL ; + bool res= KStandardDirs::findExe( _progName,NULL, KStandardDirs::NoSearchOptions) !=NULL ;
if (_msg && !res) if (_msg && !res)
k9Dialogs::error(i18n("Error starting program %1").arg(_progName),i18n("Running program")); k9Dialogs::error(i18n("Error starting program %1").arg(_progName),i18n("Running program"));
return res; return res;