File opendkim-2.9.2_compiler_warnings.patch of Package opendkim
Index: opendkim-2.10.1/reprrd/reprrd.c
===================================================================
--- opendkim-2.10.1.orig/reprrd/reprrd.c
+++ opendkim-2.10.1/reprrd/reprrd.c
@@ -26,6 +26,10 @@
#ifdef USE_STRL_H
# include <strl.h>
#endif /* USE_STRL_H */
+/* libbsd if found */
+#ifdef USE_BSD_H
+# include <bsd/string.h>
+#endif /* USE_BSD_H */
/* data types */
struct reprrd_handle
Index: opendkim-2.10.1/opendkim/opendkim.c
===================================================================
--- opendkim-2.10.1.orig/opendkim/opendkim.c
+++ opendkim-2.10.1/opendkim/opendkim.c
@@ -1241,6 +1241,7 @@ dkimf_xs_signfor(lua_State *l)
lua_pushnumber(l, status);
return 1;
}
+ return -1;
}
/*