File hanterm-xf-int-main.patch of Package hanterm-xf
Index: hanterm-xf-2.0.5-173/configure
===================================================================
--- hanterm-xf-2.0.5-173.orig/configure
+++ hanterm-xf-2.0.5-173/configure
@@ -836,7 +836,7 @@ cat > conftest.$ac_ext << EOF
#line 837 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes