summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2011-03-31 23:30:01 -0400
committer Robby Workman <rworkman@slackbuilds.org>2011-03-31 23:51:43 -0500
commit3580fd42e05de5f7467146046be7c560d86bc813 (patch)
tree54deb8b51dfc72517aac9de29ddbef785adfb909 /graphics
parent3722a9fdf59f4189e8ceb0a6dfdb518178c7b3c9 (diff)
downloadslackbuilds-3580fd42e05de5f7467146046be7c560d86bc813.tar.gz
slackbuilds-3580fd42e05de5f7467146046be7c560d86bc813.tar.xz
graphics/darktable: Patched to build with exiv2-0.21.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 8f2ea0976b..286431f476 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 0000000000..8b85f5b44e
--- /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>