textproc/kf5-syntax-highlighting: Add dependency on qdeclarative to enable QML module.
While there remove a legacy patch. Differential Revision: https://reviews.freebsd.org/D37738
This commit is contained in:
parent
738243a098
commit
432ceedd16
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= syntax-highlighting
|
||||
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc kde kde-frameworks
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -7,7 +8,7 @@ COMMENT= KF5 syntax highlighting engine for structured text and code
|
|||
|
||||
USES= cmake compiler:c++11-lib kde:5 perl5 qt:5 tar:xz
|
||||
USE_KDE= ecm:build
|
||||
USE_QT= core gui network \
|
||||
USE_QT= core declarative gui network \
|
||||
buildtools:build linguisttools:build testlib:build qmake:build
|
||||
|
||||
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=TRUE
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
Fix build on 9.3
|
||||
|
||||
/wrkdirs/usr/ports/textproc/kf5-syntax-highlighting/work/syntax-highlighting-5.29.0/src/cli/kate-syntax-highlighter.cpp:121:35: error: 'stdout' was not declared in this scope
|
||||
|
||||
--- src/cli/kate-syntax-highlighter.cpp.orig 2016-12-13 11:57:30 UTC
|
||||
+++ src/cli/kate-syntax-highlighter.cpp
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <QVector>
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdio>
|
||||
|
||||
using namespace KSyntaxHighlighting;
|
||||
|
|
@ -29,6 +29,8 @@ lib/libKF5SyntaxHighlighting.so
|
|||
lib/libKF5SyntaxHighlighting.so.5
|
||||
lib/libKF5SyntaxHighlighting.so.%%KDE_FRAMEWORKS_VERSION%%
|
||||
%%QT_MKSPECDIR%%/modules/qt_KSyntaxHighlighting.pri
|
||||
%%QT_QMLDIR%%/org/kde/syntaxhighlighting/libkquicksyntaxhighlightingplugin.so
|
||||
%%QT_QMLDIR%%/org/kde/syntaxhighlighting/qmldir
|
||||
share/locale/af/LC_MESSAGES/syntaxhighlighting5_qt.qm
|
||||
share/locale/ar/LC_MESSAGES/syntaxhighlighting5_qt.qm
|
||||
share/locale/az/LC_MESSAGES/syntaxhighlighting5_qt.qm
|
||||
|
|
Loading…
Reference in New Issue
Block a user