Date: Wed, 17 Jan 2018 11:40:31 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459241 - in head/multimedia/k9copy-kde4: . files Message-ID: <201801171140.w0HBeVVw039102@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Wed Jan 17 11:40:31 2018 New Revision: 459241 URL: https://svnweb.freebsd.org/changeset/ports/459241 Log: multimedia/k9copy-kde4, fix build with clan6 * add patch to use NoSearchOptions instead of false * add USES=localbase PR: 224669 Added: head/multimedia/k9copy-kde4/files/patch-src_core_k9tools.cpp (contents, props changed) Modified: head/multimedia/k9copy-kde4/Makefile Modified: head/multimedia/k9copy-kde4/Makefile ============================================================================== --- head/multimedia/k9copy-kde4/Makefile Wed Jan 17 11:34:02 2018 (r459240) +++ head/multimedia/k9copy-kde4/Makefile Wed Jan 17 11:40:31 2018 (r459241) @@ -3,7 +3,7 @@ PORTNAME= k9copy PORTVERSION= 2.3.4 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= multimedia kde MASTER_SITES= LOCAL/rakuco DISTNAME= ${PORTNAME}-${PORTVERSION}-Source @@ -17,7 +17,7 @@ LIB_DEPENDS= libxine.so:multimedia/libxine \ libmpeg2.so:multimedia/libmpeg2 \ libavcodec0.so:multimedia/ffmpeg0 -USES= cmake gettext kde:4 +USES= cmake gettext kde:4 localbase USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build Added: head/multimedia/k9copy-kde4/files/patch-src_core_k9tools.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/k9copy-kde4/files/patch-src_core_k9tools.cpp Wed Jan 17 11:40:31 2018 (r459241) @@ -0,0 +1,15 @@ +src/core/k9tools.cpp:59:54: error: no viable conversion from 'bool' + to 'KStandardDirs::SearchOptions' (aka 'QFlags<KStandardDirs::SearchOption>' + bool res= KStandardDirs::findExe( _progName,NULL,false) !=NULL ; + +--- src/core/k9tools.cpp.orig 2018-01-17 11:30:09 UTC ++++ src/core/k9tools.cpp +@@ -56,7 +56,7 @@ bool k9Tools::checkProgram(QString _progName,bool _msg + } + return false; + #else +- bool res= KStandardDirs::findExe( _progName,NULL,false) !=NULL ; ++ bool res= KStandardDirs::findExe( _progName,NULL, KStandardDirs::SearchOption::NoSearchOptions) !=NULL ; + if (_msg && !res) + k9Dialogs::error(i18n("Error starting program %1").arg(_progName),i18n("Running program")); + return res;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801171140.w0HBeVVw039102>