SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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");
}