openbsd-ports/lang/expect/patches/patch-exp_trap_c
sebastia 507103ec99 Update expect to 5.44.1.15
switch from tcl/tk 8.4 to 8.5
take maintainership

after fixing the WANTLIB finally OK, landry@, sthen@, jasper@
2010-09-24 14:16:50 +00:00

15 lines
415 B
Plaintext

$OpenBSD: patch-exp_trap_c,v 1.1 2010/09/24 14:16:50 sebastia Exp $
Get rid of implicit declaration of function warning
--- exp_trap.c.orig Thu Sep 9 18:39:22 2010
+++ exp_trap.c Thu Sep 9 18:39:35 2010
@@ -13,6 +13,7 @@ would appreciate credit if this program or parts of it
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
+#include <string.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>