summaryrefslogtreecommitdiff
path: root/user/exiv2/musl-strerror.patch
diff options
context:
space:
mode:
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());
+ }