openbsd-ports/x11/rxvt/patches/patch-configure
2012-12-07 18:23:40 +00:00

32 lines
744 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2012/12/07 18:23:40 naddy Exp $
--- configure.orig Wed Mar 26 07:07:26 2003
+++ configure Fri Dec 7 17:51:46 2012
@@ -12925,7 +12925,6 @@ _ACEOF
case "$host_alias" in
*ultrix) ac_cv_func_setsid='no' ;;
- *) break;;
esac
@@ -14433,8 +14432,8 @@ _ACEOF
fi
-echo "$as_me:$LINENO: checking for getpt" >&5
-echo $ECHO_N "checking for getpt... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for posix_openpt" >&5
+echo $ECHO_N "checking for posix_openpt... $ECHO_C" >&6
if test "${rxvt_cv_func_getpt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -14452,7 +14451,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-(void)getpt();
+(void)posix_openpt(0);
;
return 0;
}