Fix Hurd FTBFS: (Closes: #674444)
[ckermit.git] / debian / patches / 020_fix_ptys.patch
index f32c593..f32105b 100644 (file)
@@ -2,18 +2,18 @@ Description: get correct ptsname() prototype
  Needed along with -DHAVE_PTMX for working ptys
 Forwarded: email
 Author: Mark Wooding <mdw@distorted.org.uk>
-Last-Update: 2012-05-08
+Last-Update: 2012-05-26
 Bug-Debian: http://bugs.debian.org/660066
 
 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
+--- ckermit.orig/ckupty.c      2012-05-09 23:29:20.000000000 +0100
++++ ckermit/ckupty.c   2012-05-26 00:35:08.000000000 +0100
 @@ -54,6 +54,8 @@
     . HP-UX 8.00 and earlier (no vhangup or ptsname routines)
  */
  
-+#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE 500
 +#include <stdlib.h>
  #include "ckcsym.h"
  #include "ckcdeb.h"                   /* To pick up NETPTY definition */