diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-19 11:19:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-19 11:19:55 +0000 |
commit | 227d95a682aa30de0ea82675be93ee5bcc18274b (patch) | |
tree | 33fdf66ab952bb6f13d180cc0c37d4814b876d95 | |
parent | 13991743000a9ed181ad083d3452ed332b01a29a (diff) | |
download | freebsd-ports-227d95a682aa30de0ea82675be93ee5bcc18274b.zip |
- Add LICENSE_FILE
- Fix build on 9.x by specifying proper c++ standard requirement and adding missing include
Approved by: portmgr blanket
-rw-r--r-- | graphics/photivo/Makefile | 5 | ||||
-rw-r--r-- | graphics/photivo/files/patch-Sources_ptCheck.cpp | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/graphics/photivo/Makefile b/graphics/photivo/Makefile index 2d7abd233e71..6d9c9c9d9e60 100644 --- a/graphics/photivo/Makefile +++ b/graphics/photivo/Makefile @@ -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} diff --git a/graphics/photivo/files/patch-Sources_ptCheck.cpp b/graphics/photivo/files/patch-Sources_ptCheck.cpp new file mode 100644 index 000000000000..6a4c01269420 --- /dev/null +++ b/graphics/photivo/files/patch-Sources_ptCheck.cpp @@ -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> + + //============================================================================== |