Skip to content

Commit

Permalink
media-gfx/luminance-hdr: Fix build with media-gfx/exiv2-0.27.1
Browse files Browse the repository at this point in the history
Reported-by: Erich Seifert <[email protected]>
Closes: https://bugs.gentoo.org/688556
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jun 23, 2019
1 parent e68c459 commit f8dd13f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 8c3f1571bfa7bb702228bb283e37e58c8b322d5b Mon Sep 17 00:00:00 2001
From: Benitoite <[email protected]>
Date: Fri, 26 Apr 2019 18:07:52 -0700
Subject: [PATCH] ExifOperations: include exiv2/exiv2.hpp

Because type `AnyError` requires definition in the exiv2 namespace.
---
src/Exif/ExifOperations.cpp | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/Exif/ExifOperations.cpp b/src/Exif/ExifOperations.cpp
index 07ca742c..dd3d22a6 100644
--- a/src/Exif/ExifOperations.cpp
+++ b/src/Exif/ExifOperations.cpp
@@ -35,6 +35,7 @@
#include <boost/assign/list_of.hpp>

#include <exif.hpp>
+#include <exiv2/exiv2.hpp>
#include <image.hpp>

#include "Common/config.h"
4 changes: 2 additions & 2 deletions media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -50,7 +50,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.5.1-docs.patch
"${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch
"${FILESDIR}"/${PN}-2.5.1-fits-automagic.patch
"${FILESDIR}"/${PN}-2.5.1-exiv2-0.27.patch
"${FILESDIR}"/${PN}-2.5.1-exiv2-0.27{,.1}.patch
)

pkg_pretend() {
Expand Down

0 comments on commit f8dd13f

Please sign in to comment.