summaryrefslogtreecommitdiff
path: root/user/exiv2/musl-strerror.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-10 01:31:32 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commitdbe39003ab54ef5afab300c186d1187a6fa822cc (patch)
tree7d65b3fe98e3ff0e39a9b402e53d184e08b0e804 /user/exiv2/musl-strerror.patch
parent3f86cdce3fdc695f68d9509bcee57892292c3b5d (diff)
downloadpackages-dbe39003ab54ef5afab300c186d1187a6fa822cc.tar.gz
packages-dbe39003ab54ef5afab300c186d1187a6fa822cc.tar.bz2
packages-dbe39003ab54ef5afab300c186d1187a6fa822cc.tar.xz
packages-dbe39003ab54ef5afab300c186d1187a6fa822cc.zip
user/exiv2: Update to 0.27.5
Do not use Git version. This is an API-incompatible, presently unstable and undefined 1.0 API/ABI that cannot be used with software targeting the 0.27 API/ABI. Fixes: #497, #498, #499, #506, #710, #745 (though it is invalid), #746, #747
Diffstat (limited to 'user/exiv2/musl-strerror.patch')
-rw-r--r--user/exiv2/musl-strerror.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/exiv2/musl-strerror.patch b/user/exiv2/musl-strerror.patch
new file mode 100644
index 000000000..c425eaf8d
--- /dev/null
+++ b/user/exiv2/musl-strerror.patch
@@ -0,0 +1,20 @@
+--- exiv2-0.27.5-Source/unitTests/test_futils.cpp.old 2021-10-21 12:01:10.000000000 -0500
++++ exiv2-0.27.5-Source/unitTests/test_futils.cpp 2022-06-10 01:07:12.090519526 -0500
+@@ -53,7 +53,7 @@
+ #elif defined(__NetBSD__)
+ const char * expectedString = "Undefined error: 0 (errno = 0)";
+ #else
+- const char * expectedString = "Success (errno = 0)";
++ const char * expectedString = "No error information (errno = 0)";
+ #endif
+ std::remove(tmpFile.c_str());
+ ASSERT_STREQ(expectedString, strError().c_str());
+@@ -81,7 +81,7 @@
+ #elif defined(__NetBSD__)
+ const char * expectedString = "Unknown error: 9999 (errno = 9999)";
+ #else
+- const char * expectedString = "Unknown error 9999 (errno = 9999)";
++ const char * expectedString = "No error information (errno = 9999)";
+ #endif
+ ASSERT_STREQ(expectedString, strError().c_str());
+ }