From 3580fd42e05de5f7467146046be7c560d86bc813 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 31 Mar 2011 23:30:01 -0400 Subject: graphics/darktable: Patched to build with exiv2-0.21.1. Signed-off-by: dsomero --- graphics/darktable/darktable.SlackBuild | 5 ++++- graphics/darktable/exiv2-0.21.1.patch | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 graphics/darktable/exiv2-0.21.1.patch (limited to 'graphics/darktable') diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild index 8f2ea0976bef..286431f47684 100644 --- a/graphics/darktable/darktable.SlackBuild +++ b/graphics/darktable/darktable.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=darktable VERSION=${VERSION:-0.7.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,6 +60,9 @@ find . \ # Suppress warning from gconf sed -i -e '/gettext_domain/d' darktable.schemas.in +# Patch to build with exiv2-0.21.1 +patch -p1 < $CWD/exiv2-0.21.1.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/graphics/darktable/exiv2-0.21.1.patch b/graphics/darktable/exiv2-0.21.1.patch new file mode 100644 index 000000000000..8b85f5b44e88 --- /dev/null +++ b/graphics/darktable/exiv2-0.21.1.patch @@ -0,0 +1,17 @@ +diff -Naur darktable-0.7.orig/src/common/exif.cc +darktable-0.7/src/common/exif.cc +--- darktable-0.7.orig/src/common/exif.cc 2010-11-20 12:35:27.000000000 +0100 ++++ darktable-0.7/src/common/exif.cc 2011-01-03 19:05:34.242131001 +0100 +@@ -29,11 +29,7 @@ + #include "common/imageio.h" + } + // #include +-#include +-#include +-#include +-#include +-#include ++#include + #include + #include + #include -- cgit v1.2.3