1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Add LICENSE_FILE

- Fix build on 9.x by specifying proper c++ standard requirement and adding missing include

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-12-19 11:19:55 +00:00
parent 1399174300
commit 227d95a682
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428920
2 changed files with 13 additions and 2 deletions

View File

@ -12,6 +12,7 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= Free and open source photo processor
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
libexiv2.so:graphics/exiv2 \
@ -20,11 +21,11 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
libGraphicsMagick.so:graphics/GraphicsMagick \
libfftw3.so:math/fftw3
USES= cmake compiler:c++0x desktop-file-utils dos2unix \
USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \
gettext-runtime jpeg pkgconfig zip
USE_GNOME= glib20
USE_QT5= qmake_build buildtools_build core gui network widgets
DOS2UNIX_FILES= Sources/ptImage.cpp
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -0,0 +1,10 @@
--- Sources/ptCheck.cpp.orig 2016-03-22 03:34:55 UTC
+++ Sources/ptCheck.cpp
@@ -27,6 +27,7 @@
#include "filters/ptCfgItem.h"
#include <QHBoxLayout>
+#include <cstdio>
#include <cassert>
//==============================================================================