mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 17:13:27 +01:00
Currently exiv2 does not build with -fpermissive. I just need to fix the return type of a function. Other than that, the script was not applying the patches, ie., calling default_prepare(). I am also removing the patch for CVE-2014-9449 since it is already applied upstream.
12 lines
380 B
Diff
12 lines
380 B
Diff
--- a/src/futils.cpp
|
|
+++ b/src/futils.cpp
|
|
@@ -333,7 +333,7 @@
|
|
#ifdef EXV_HAVE_STRERROR_R
|
|
const size_t n = 1024;
|
|
// _GNU_SOURCE: See Debian bug #485135
|
|
-# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE
|
|
+# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE && defined GLIBC
|
|
char *buf = 0;
|
|
char buf2[n];
|
|
std::memset(buf2, 0x0, n);
|