backport upstream patch to fix digikam-kde4 with newer lensfun.

diff from rsadowski with minor tweak in patch comment by me.
This commit is contained in:
sthen 2017-02-02 12:57:28 +00:00
parent f024b8e700
commit 75223c6422
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2016/11/27 17:37:35 kirby Exp $
# $OpenBSD: Makefile,v 1.23 2017/02/02 12:57:28 sthen Exp $
COMMENT-kipi = KDE image plugins collection
COMMENT-main = KDE photo management utility
@ -16,6 +16,7 @@ PKGNAME-kipi = kipi-plugins-${VERSION}
PKGNAME-main = ${PKGNAME}
PKGNAME-mediawiki = libmediawiki-1.0.0
REVISION-main = 0
REVISION-kipi = 1
REVISION-mediawiki = 4

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-core_libs_dimg_filters_lens_lensfuniface_h,v 1.1 2017/02/02 12:57:28 sthen Exp $
From 0f159981176faa6da701f112bfe557b79804d468 Mon Sep 17 00:00:00 2001
From: Gilles Caulier <caulier.gilles@gmail.com>
Date: Mon, 14 Dec 2015 22:40:55 +0059
Subject: fix compilation with Lensfun 0.3.2 It still compatible with older
lensfun releases. BUGS: 356672 FIXED-IN: 5.0.0
--- core/libs/dimg/filters/lens/lensfuniface.h.orig Wed Feb 1 15:09:45 2017
+++ core/libs/dimg/filters/lens/lensfuniface.h Wed Feb 1 15:09:56 2017
@@ -24,10 +24,7 @@
// Lib LensFun includes
-extern "C"
-{
#include <lensfun.h>
-}
// local includes