File fix-gcc-check.patch of Package ssmtp

Index: ssmtp-2.64/configure
===================================================================
--- ssmtp-2.64.orig/configure
+++ ssmtp-2.64/configure
@@ -663,7 +663,7 @@ cat > conftest.$ac_ext << EOF
 #line 664 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
openSUSE Build Service is sponsored by