openbsd-ports/graphics/xfig/patches/patch-w_snap_c
jasper aa9b81da1b - SECURITY UPDATE of xfig to 3.2.5b
CVE-2009-1962: Xfig Insecure Temporary Files
2009-06-09 13:19:44 +00:00

13 lines
334 B
Plaintext

$OpenBSD: patch-w_snap_c,v 1.2 2009/06/09 13:19:44 jasper Exp $
--- w_snap.c.pat.orig Tue Jun 9 15:11:25 2009
+++ w_snap.c Tue Jun 9 15:11:36 2009
@@ -33,7 +33,7 @@
#include "u_search.h"
#include "f_util.h"
#include <math.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <alloca.h>
#endif