diff options
Diffstat (limited to 'net-dialup/gnokii/files/gnokii-0.5.2-nounix98pty.patch')
-rw-r--r-- | net-dialup/gnokii/files/gnokii-0.5.2-nounix98pty.patch | 136 |
1 files changed, 0 insertions, 136 deletions
diff --git a/net-dialup/gnokii/files/gnokii-0.5.2-nounix98pty.patch b/net-dialup/gnokii/files/gnokii-0.5.2-nounix98pty.patch deleted file mode 100644 index cb9951a99a2a..000000000000 --- a/net-dialup/gnokii/files/gnokii-0.5.2-nounix98pty.patch +++ /dev/null @@ -1,136 +0,0 @@ ---- gnokii-0.5.2/configure 2003-06-13 10:02:33.000000000 +0100 -+++ gnokii-0.5.2/configure 2003-09-12 22:43:25.564995784 +0100 -@@ -7864,133 +7864,6 @@ - - fi; - --echo "$as_me:$LINENO: checking for grantpt" >&5 --echo $ECHO_N "checking for grantpt... $ECHO_C" >&6 --if test "${ac_cv_func_grantpt+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --#line $LINENO "configure" --#include "confdefs.h" --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char grantpt (); below. */ --#include <assert.h> --/* Override any gcc2 internal prototype to avoid an error. */ --#ifdef __cplusplus --extern "C" --#endif --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --char grantpt (); --char (*f) (); -- --int --main () --{ --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined (__stub_grantpt) || defined (__stub___grantpt) --choke me --#else --f = grantpt; --#endif -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && -- { ac_try='test -s conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_func_grantpt=yes --else -- echo "$as_me: failed program was:" >&5 --cat conftest.$ac_ext >&5 --ac_cv_func_grantpt=no --fi --rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext --fi --echo "$as_me:$LINENO: result: $ac_cv_func_grantpt" >&5 --echo "${ECHO_T}$ac_cv_func_grantpt" >&6 --if test $ac_cv_func_grantpt = yes; then -- if test "$cross_compiling" = yes; then -- { echo "$as_me:$LINENO: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&5 --echo "$as_me: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&2;} --else -- cat >conftest.$ac_ext <<_ACEOF --#line $LINENO "configure" --#include "confdefs.h" -- --#define _XOPEN_SOURCE 500 -- --#include <stdlib.h> --#include <sys/types.h> --#include <sys/stat.h> --#include <fcntl.h> --#include <unistd.h> -- --int main() --{ -- char *name = NULL; -- int master, err; -- -- master = open("/dev/ptmx", O_RDWR | O_NOCTTY | O_NONBLOCK); -- if (master >= 0) { -- err = grantpt(master); -- err = err || unlockpt(master); -- if (!err) { -- name = ptsname(master); -- } else { -- exit(-1); -- } -- } else { -- exit(-1); -- } -- close(master); -- exit(0); --} -- --_ACEOF --rm -f conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- cat >>confdefs.h <<\_ACEOF --#define USE_UNIX98PTYS 1 --_ACEOF -- --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --cat conftest.$ac_ext >&5 --( exit $ac_status ) --{ echo "$as_me:$LINENO: WARNING: \"No unix98ptys\"" >&5 --echo "$as_me: WARNING: \"No unix98ptys\"" >&2;} --fi --rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- --fi -- -- - cat >conftest.$ac_ext <<_ACEOF - #line $LINENO "configure" - #include "confdefs.h" |