diff options
author | gahr <gahr@FreeBSD.org> | 2012-11-08 18:45:13 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-11-08 18:45:13 +0800 |
commit | 06f66db1dd5d19ced70e26865adff54a4666cd58 (patch) | |
tree | d2847e3754d5b989f475d5d07ac1ba9e673d963d /graphics | |
parent | eddbed75ada6683f63b8e716e88a0f88a9e955c6 (diff) | |
download | freebsd-ports-gnome-06f66db1dd5d19ced70e26865adff54a4666cd58.tar.gz freebsd-ports-gnome-06f66db1dd5d19ced70e26865adff54a4666cd58.tar.zst freebsd-ports-gnome-06f66db1dd5d19ced70e26865adff54a4666cd58.zip |
- remove obsolete patch
Reported by: PH (via beat@)
Approved by: portmgr@ (implicit)
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gexiv2/files/patch-exiv2-0.21 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/graphics/gexiv2/files/patch-exiv2-0.21 b/graphics/gexiv2/files/patch-exiv2-0.21 deleted file mode 100644 index f4ad1128a038..000000000000 --- a/graphics/gexiv2/files/patch-exiv2-0.21 +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur gexiv2/gexiv2-metadata-exif.cpp.orig gexiv2/gexiv2-metadata-exif.cpp ---- gexiv2/gexiv2-metadata-exif.cpp.orig 2010-09-10 17:52:54.000000000 -0400 -+++ gexiv2/gexiv2-metadata-exif.cpp 2010-12-19 19:44:49.883274002 -0500 -@@ -235,10 +235,13 @@ - const gchar* gexiv2_metadata_get_exif_tag_label (const gchar* tag) { - g_return_val_if_fail(tag != NULL, NULL); - -- Exiv2::ExifKey key(tag); -- - try { -+ Exiv2::ExifKey key(tag); -+#if EXIV2_TEST_VERSION(0, 21, 0) -+ return g_intern_string(key.tagLabel().c_str()); -+#else - return Exiv2::ExifTags::tagLabel (key.tag (), key.ifdId ()); -+#endif - } catch (Exiv2::Error& e) { - LOG_ERROR(e); - } -@@ -249,10 +252,13 @@ - const gchar* gexiv2_metadata_get_exif_tag_description (const gchar* tag) { - g_return_val_if_fail(tag != NULL, NULL); - -- Exiv2::ExifKey key(tag); -- - try { -+ Exiv2::ExifKey key(tag); -+#if EXIV2_TEST_VERSION(0, 21, 0) -+ return g_intern_string(key.tagDesc().c_str()); -+#else - return Exiv2::ExifTags::tagDesc (key.tag (), key.ifdId ()); -+#endif - } catch (Exiv2::Error& e) { - LOG_ERROR(e); - } |