pkgsrc/sysutils/xfm/patches/patch-ab
wiz d15f48992a Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that.
Bump their PKGREVISIONs.
2015-10-14 20:17:24 +00:00

20 lines
414 B
Text

$NetBSD: patch-ab,v 1.3 2015/10/14 20:17:28 wiz Exp $
--- src/Fm.h.orig 2001-09-03 03:15:28.000000000 +0000
+++ src/Fm.h
@@ -19,11 +19,15 @@
#include <malloc.h>
#endif
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+#include <stdlib.h>
+#else
#ifdef _AIX
#pragma alloca
#else
#include <alloca.h>
#endif
+#endif
#include <stdio.h>
#include <sys/types.h> /* just in case */