File hanterm-xf-tgetent.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
@@ -1729,6 +1729,10 @@ else
  * the xterm application, which uses this information to make a new TERMCAP
  * environment variable.
  */
+#include <curses.h>
+#include <term.h>
+#include <stdlib.h>
+
 int main()
 {
 	char buffer[1024];
@@ -1812,6 +1816,8 @@ else
 		cat > conftest.$ac_ext <<EOF
 #line 1814 "configure"
 #include "confdefs.h"
+#include <curses.h>
+#include <term.h>
 
 int main() {
 tgetent(0, "$cf_TERMVAR")
openSUSE Build Service is sponsored by