File libmrss-curl_compat.patch of Package libmrss

--- src/mrss_generic.c.orig	2010-02-17 20:35:02.000000000 +0100
+++ src/mrss_generic.c	2010-02-17 20:35:37.000000000 +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)
 {
openSUSE Build Service is sponsored by