openbsd-ports/x11/x11vnc/patches/patch-configure_ac
naddy 5331efe7ef Use posix_openpt() to open pty.
Drop obsolete pthread patch while here.
2012-12-17 19:02:48 +00:00

13 lines
741 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.1 2012/12/17 19:02:48 naddy Exp $
--- configure.ac.orig Mon Dec 10 21:38:46 2012
+++ configure.ac Mon Dec 10 21:39:06 2012
@@ -777,7 +777,7 @@ fi
AC_CHECK_FUNCS([ftime gethostbyname gethostname gettimeofday inet_ntoa memmove memset mmap mkfifo select socket strchr strcspn strdup strerror strstr])
# x11vnc only:
if test "$build_x11vnc" = "yes"; then
- AC_CHECK_FUNCS([setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid initgroups waitpid setutxent grantpt shmat])
+ AC_CHECK_FUNCS([setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid initgroups waitpid setutxent posix_openpt grantpt shmat])
fi
# check, if shmget is in cygipc.a