FreeBSD Bugzilla – Attachment 207002 Details for
Bug 240191
graphics/geeqie FreeBSD patch-git_f9213c failed to apply on 12-stable amd64 using poudriere
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-geeqie
svn-diff-geeqie (text/plain), 3.08 KB, created by
Walter Schwarzenfeld
on 2019-08-29 16:53:10 UTC
(
hide
)
Description:
svn-diff-geeqie
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2019-08-29 16:53:10 UTC
Size:
3.08 KB
patch
obsolete
>Index: files/patch-git_f9213c >=================================================================== >--- files/patch-git_f9213c (revision 510171) >+++ files/patch-git_f9213c (nonexistent) >@@ -1,93 +0,0 @@ >-From f9213c8ad796cf4571b2606435c32753040ec645 Mon Sep 17 00:00:00 2001 >-From: Rasmus Thomsen <Rasmus.thomsen@protonmail.com> >-Date: Sun, 6 Jan 2019 17:40:31 +0000 >-Subject: [PATCH] Fix #654, 655: fix build against exiv2-0.27.x >- >-https://github.com/BestImageViewer/geeqie/pull/655 >---- src/exiv2.cc.orig 2017-12-31 12:31:21 UTC >-+++ src/exiv2.cc >-@@ -22,17 +22,25 @@ >- >- #ifdef HAVE_EXIV2 >- >--#include <exiv2/image.hpp> >--#include <exiv2/exif.hpp> >-+// Don't include the <exiv2/version.hpp> file directly >-+// Early Exiv2 versions didn't have version.hpp and the macros. >-+#include <exiv2/exiv2.hpp> >- #include <iostream> >- #include <string> >- >- // EXIV2_TEST_VERSION is defined in Exiv2 0.15 and newer. >-+#ifdef EXIV2_VERSION >- #ifndef EXIV2_TEST_VERSION >--# define EXIV2_TEST_VERSION(major,minor,patch) \ >-+#define EXIV2_TEST_VERSION(major,minor,patch) \ >- ( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) ) >- #endif >-+#else >-+#define EXIV2_TEST_VERSION(major,minor,patch) (false) >-+#endif >- >-+#if EXIV2_TEST_VERSION(0,27,0) >-+#define HAVE_EXIV2_ERROR_CODE >-+#endif >- >- #include <sys/types.h> >- #include <sys/stat.h> >-@@ -40,29 +48,10 @@ >- #include <fcntl.h> >- #include <sys/mman.h> >- >--#if !EXIV2_TEST_VERSION(0,17,90) >--#include <exiv2/tiffparser.hpp> >--#include <exiv2/tiffcomposite.hpp> >--#include <exiv2/tiffvisitor.hpp> >--#include <exiv2/tiffimage.hpp> >--#include <exiv2/cr2image.hpp> >--#include <exiv2/crwimage.hpp> >--#if EXIV2_TEST_VERSION(0,16,0) >--#include <exiv2/orfimage.hpp> >-+#if EXIV2_TEST_VERSION(0,27,0) >-+#define EXV_PACKAGE "exiv2" >- #endif >--#if EXIV2_TEST_VERSION(0,13,0) >--#include <exiv2/rafimage.hpp> >--#endif >--#include <exiv2/futils.hpp> >--#else >--#include <exiv2/preview.hpp> >--#endif >- >--#if EXIV2_TEST_VERSION(0,17,0) >--#include <exiv2/convert.hpp> >--#include <exiv2/xmpsidecar.hpp> >--#endif >-- >- extern "C" { >- #include <glib.h> >- >-@@ -374,7 +363,11 @@ struct _ExifDataProcessed : public _ExifData (public) >- #endif >- Exiv2::Image *image = imageData_->image(); >- >-+#ifdef HAVE_EXIV2_ERROR_CODE >-+ if (!image) throw Exiv2::Error(Exiv2::ErrorCode::kerInputDataReadFailed); >-+#else >- if (!image) Exiv2::Error(21); >-+#endif >- image->setExifData(exifData_); >- image->setIptcData(iptcData_); >- #if EXIV2_TEST_VERSION(0,16,0) >-@@ -394,7 +387,11 @@ struct _ExifDataProcessed : public _ExifData (public) >- sidecar->setXmpData(xmpData_); >- sidecar->writeMetadata(); >- #else >-+#ifdef HAVE_EXIV2_ERROR_CODE >-+ throw Exiv2::Error(Exiv2::ErrorCode::kerNotAnImage, "xmp"); >-+#else >- throw Exiv2::Error(3, "xmp"); >-+#endif >- #endif >- } >- } > >Property changes on: files/patch-git_f9213c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240191
:
207000
| 207002