forked from pool/libmrss
- Update to 0.19.3: * Dacav's patches to fix crashes, indentation, tests, and much more. OBS-URL: https://build.opensuse.org/request/show/1045503 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmrss?expand=0&rev=11
14 lines
451 B
Diff
14 lines
451 B
Diff
--- libmrss-0.19.3/src/mrss_generic.c.orig 2022-12-27 14:28:55.456809643 +0100
|
|
+++ libmrss-0.19.3/src/mrss_generic.c 2022-12-27 14:29:07.708871741 +0100
|
|
@@ -25,6 +25,10 @@
|
|
#include "mrss.h"
|
|
#include "mrss_internal.h"
|
|
|
|
+#if LIBCURL_VERSION_MAJOR < 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR < 12)
|
|
+#define curl_easy_strerror(code) "Download error"
|
|
+#endif
|
|
+
|
|
char *mrss_strerror(mrss_error_t err) {
|
|
switch (err) {
|
|
case MRSS_OK:
|