openbsd-ports/graphics/xfig/patches/patch-w_keyboard_c
kirby 3818d92e1e Update to xfig-3.2.6.
- upstream switched from imake to autotools
 - update HOMEPAGE
 - remove trailing whitespace in DESCR

OK naddy@
2017-02-01 10:09:58 +00:00

15 lines
377 B
Plaintext

$OpenBSD: patch-w_keyboard_c,v 1.4 2017/02/01 10:09:58 kirby Exp $
--- src/w_keyboard.c.orig Sun Jul 24 00:10:28 2016
+++ src/w_keyboard.c Thu Dec 22 12:22:20 2016
@@ -17,8 +17,9 @@
*/
#include <sys/types.h>
+#include <stdlib.h>
#include <regex.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <alloca.h>
#endif
#include <string.h>