aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/darktable/darktable.SlackBuild5
-rw-r--r--graphics/darktable/exiv2-0.21.1.patch17
2 files changed, 21 insertions, 1 deletions
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 <libexif/exif-data.h>
+-#include <exiv2/xmp.hpp>
+-#include <exiv2/error.hpp>
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
+-#include <exiv2/canonmn.hpp>
++#include <exiv2/exiv2.hpp>
+ #include <sqlite3.h>
+ #include <iostream>
+ #include <fstream>