. HP-UX 8.00 and earlier (no vhangup or ptsname routines)
*/
+#define _XOPEN_SOURCE
+#include <stdlib.h>
#include "ckcsym.h"
#include "ckcdeb.h" /* To pick up NETPTY definition */
* Fix FTBFS on hurd-i386 (Closes: #671892)
Thanks to Svante Signell.
+ * New patch: 020_fix_ptys. Thanks to Mark Wooding (Closes: #660066).
* Fix pending l10n issues. Debconf translations:
+ Dutch; (Thanks to Jeroen Schot). Closes: #660843
+ Polish (Thanks to Michał Kułach). Closes: #670771
--- /dev/null
+Index: ckermit/ckupty.c
+===================================================================
+--- ckermit.orig/ckupty.c 2012-05-08 04:43:50.000000000 +0100
++++ ckermit/ckupty.c 2012-05-08 04:44:30.000000000 +0100
+@@ -54,6 +54,8 @@
+ . HP-UX 8.00 and earlier (no vhangup or ptsname routines)
+ */
+
++#define _XOPEN_SOURCE
++#include <stdlib.h>
+ #include "ckcsym.h"
+ #include "ckcdeb.h" /* To pick up NETPTY definition */
+
010_multiarch-makefile.patch
+020_fix_ptys.patch
CFLAGS =-g \
-DIKSDCONF=\\\\\\\\\\\\\\\"/etc/kermit/iksd.conf\\\\\\\\\\\\\\\" \
-DCK_SYSINI=\\\\\\\\\\\\\\\"/etc/kermit/kermrc\\\\\\\\\\\\\\\" \
- -DCK_INI_B -DX509_SUBJECT_ALT_NAME_TO_USER
+ -DCK_INI_B -DX509_SUBJECT_ALT_NAME_TO_USER -DHAVE_PTMX
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0