1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

graphics/photivo: prepare for exiv2-0.27

PR:		235943
This commit is contained in:
Tobias C. Berner 2019-03-09 08:08:47 +00:00
parent feb6abd72f
commit 2c3c126859
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495106
3 changed files with 28 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= photivo
PORTVERSION= 0.0.2015.03.21
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/${PORTNAME}/
DISTNAME= source-archive
@ -25,7 +25,8 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \
gettext-runtime gnome jpeg pkgconfig zip
USE_GNOME= glib20
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \
Sources/ptImageHelper.h Sources/ptMainWindow.h
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -0,0 +1,13 @@
Fix build against exiv2-0.27
--- Sources/ptImageHelper.h.orig 2019-03-09 08:02:50 UTC
+++ Sources/ptImageHelper.h
@@ -30,7 +30,7 @@
#include <QString>
#include <QImage>
#include <exiv2/iptc.hpp>
-#include <exiv2/xmp.hpp>
+#include <exiv2/exiv2.hpp>
//==============================================================================

View File

@ -0,0 +1,12 @@
Fix build against exiv2-0.27
--- Sources/ptMainWindow.h.orig 2019-03-09 08:00:46 UTC
+++ Sources/ptMainWindow.h
@@ -42,6 +42,7 @@
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <exiv2/image.hpp>
#pragma GCC diagnostic pop
+#include <exiv2/exiv2.hpp>
#include <memory>
using std::unique_ptr;