Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 11:19:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428920 - in head/graphics/photivo: . files
Message-ID:  <201612191119.uBJBJt6t025085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 19 11:19:55 2016
New Revision: 428920
URL: https://svnweb.freebsd.org/changeset/ports/428920

Log:
  - Add LICENSE_FILE
  - Fix build on 9.x by specifying proper c++ standard requirement and adding missing include
  
  Approved by:	portmgr blanket

Added:
  head/graphics/photivo/files/patch-Sources_ptCheck.cpp   (contents, props changed)
Modified:
  head/graphics/photivo/Makefile

Modified: head/graphics/photivo/Makefile
==============================================================================
--- head/graphics/photivo/Makefile	Mon Dec 19 11:18:45 2016	(r428919)
+++ head/graphics/photivo/Makefile	Mon Dec 19 11:19:55 2016	(r428920)
@@ -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}
 

Added: head/graphics/photivo/files/patch-Sources_ptCheck.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/photivo/files/patch-Sources_ptCheck.cpp	Mon Dec 19 11:19:55 2016	(r428920)
@@ -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>
+ 
+ //==============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612191119.uBJBJt6t025085>