mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
graphics/darktable: Patched to build with exiv2-0.21.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
3722a9fdf5
commit
3580fd42e0
2 changed files with 21 additions and 1 deletions
|
@ -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 \
|
||||
|
|
17
graphics/darktable/exiv2-0.21.1.patch
Normal file
17
graphics/darktable/exiv2-0.21.1.patch
Normal 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>
|
Loading…
Reference in a new issue