File procmail-fix-Werror=return-type.patch of Package procmail

diff --git a/initmake b/initmake
index 82d718d..43690fe 100755
--- a/initmake
+++ b/initmake
@@ -124,7 +124,7 @@ else
 fi
 
 cat >_autotst.c <<HERE
-main()
+int main()
 { return 0;
 }
 HERE
@@ -200,8 +200,8 @@ cat >_autotst.c <<HERE
 #include <sys/types.h>
 #include <stdio.h>
 #include <sys/stat.h>
-main()
-{ struct stat buf;return!&buf;
+int main()
+{ struct stat buf;return!&buf; return 0;
 }
 HERE
 
openSUSE Build Service is sponsored by