LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File expect-5.43.0-cfg-setpgrp.patch of Package expect (Project home:non7top:epel5)

--- expect-5.43/configure.in~	2005-03-07 15:45:26.233527004 +0900
+++ expect-5.43/configure.in	2005-03-07 16:25:24.907916602 +0900
@@ -1260,6 +1260,7 @@
 AC_SUBST(UNSHARED_RANLIB)
 AC_SUBST(DEFAULT_STTY_ARGS)
 AC_SUBST(STTY_BIN)
+AC_SUBST(SETPGRP_VOID)
 AC_OUTPUT([Makefile \
 	pkgIndex],
 	chmod +x ${srcdir}/install-sh ${srcdir}/mkinstalldirs)
--- expect-5.43/expect_cf.h.in~	2004-05-08 02:48:02.000000000 +0900
+++ expect-5.43/expect_cf.h.in	2005-03-07 16:39:35.901122688 +0900
@@ -27,7 +27,7 @@
 #undef pid_t
 #undef RETSIGTYPE
 #undef TIME_WITH_SYS_TIME	/* ok to include both time.h and sys/time.h */
-#undef SETPGRP_VOID		/* if setpgrp takes 0 args */
+#define SETPGRP_VOID 1		/* if setpgrp takes 0 args */
 
 /*
  * This section is for compile macros needed by