mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
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
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue