openbsd-ports/graphics/xfig/patches/patch-w_snap_c
2009-12-27 22:07:36 +00:00

13 lines
334 B
Plaintext

$OpenBSD: patch-w_snap_c,v 1.3 2009/12/27 22:07:36 jasper Exp $
--- w_snap.c.pat.orig Mon Mar 30 17:52:10 2009
+++ w_snap.c Sun Dec 27 23:07:04 2009
@@ -32,7 +32,7 @@
#include "u_search.h"
#include "f_util.h"
#include <math.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <alloca.h>
#endif