graphics/darktable: Patched to build with exiv2-0.21.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-03-31 23:30:01 -04:00 committed by Robby Workman
parent 3722a9fdf5
commit 3580fd42e0
2 changed files with 21 additions and 1 deletions

View file

@ -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 \

View file

@ -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>