SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
graphics/gimp/lensfun/patches/patch-src_gimplensfun_cpp
Normal file
23
graphics/gimp/lensfun/patches/patch-src_gimplensfun_cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
Fix build with exiv2 >=0.28.0.
|
||||
|
||||
Index: src/gimplensfun.cpp
|
||||
--- src/gimplensfun.cpp.orig
|
||||
+++ src/gimplensfun.cpp
|
||||
@@ -1032,7 +1032,7 @@ static void process_image (GimpDrawable *drawable) {
|
||||
//
|
||||
static int read_opts_from_exif(const char *filename) {
|
||||
|
||||
- Exiv2::Image::AutoPtr Exiv2image;
|
||||
+ Exiv2::Image::UniquePtr Exiv2image;
|
||||
Exiv2::ExifData exifData;
|
||||
|
||||
const lfCamera **cameras = 0;
|
||||
@@ -1060,7 +1060,7 @@ static int read_opts_from_exif(const char *filename) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
- catch (Exiv2::AnyError& e) {
|
||||
+ catch (Exiv2::Error& e) {
|
||||
if (DEBUG) {
|
||||
g_print ("exception on reading data. \n");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue