Fix build with Qt 5.11 [1]
While here, remove CRLF from all installed text files (I had to change DOS2UNIX_FILES anyways to make a clean patch) [2] Bump PORTREVISION so that the UNIX-style text files are installed PR: 230884 [1] Approved by: portmgr (blanket - trivial runtime fix) [2]
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
PORTNAME= crosti
|
||||
DISTVERSION= 1.13.3
|
||||
DISTVERSIONSUFFIX= -source
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= SF/crosti/crosti%20${DISTVERSION}/
|
||||
|
||||
@@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/gpl.txt
|
||||
USES= desktop-file-utils dos2unix qmake qt:5 shared-mime-info zip
|
||||
USE_GL= gl
|
||||
USE_QT= concurrent core gui printsupport svg widgets buildtools_build
|
||||
DOS2UNIX_FILES= ${PORTNAME}.pro
|
||||
DOS2UNIX_GLOB= *.cpp *.csc *.h *.pro *.txt *.xml
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
12
misc/crosti/files/patch-src_usrhcpp_mainwindow.h
Normal file
12
misc/crosti/files/patch-src_usrhcpp_mainwindow.h
Normal file
@@ -0,0 +1,12 @@
|
||||
Fix build with Qt 5.11
|
||||
|
||||
--- src/usrhcpp/mainwindow.h.orig 2018-08-31 06:10:35 UTC
|
||||
+++ src/usrhcpp/mainwindow.h
|
||||
@@ -40,6 +40,7 @@ along with crosti. If not, see <http://www.gnu.org/li
|
||||
#include <QPrinter>
|
||||
#endif
|
||||
|
||||
+#include <QActionGroup>
|
||||
#include <QFileInfo>
|
||||
|
||||
class CMiniMap;
|
||||
Reference in New Issue
Block a user