File hanterm-xf-Xaw.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
@@ -4694,9 +4694,10 @@ echo "configure:4693: checking for $cf_t
 			cat > conftest.$ac_ext <<EOF
 #line 4696 "configure"
 #include "confdefs.h"
+#include "X11/Xaw/SimpleMenu.h"
 
 int main() {
-$cf_test()
+$cf_test(NULL)
 ; return 0; }
 EOF
 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
openSUSE Build Service is sponsored by