openbsd-ports/x11/gnustep/base/patches/patch-Source_NSTask_m
jasper 6340604ad6 - update gnustep-base to 1.20.0
* fixes security issues in gdomapwhich could lead to an integer overflow and
information disclosure (CVE-2010-1457 and CVE-2010-1620)

ok aja@ (MAINTAINER)
2010-05-12 16:43:47 +00:00

13 lines
337 B
Plaintext

$OpenBSD: patch-Source_NSTask_m,v 1.2 2010/05/12 16:43:47 jasper Exp $
--- Source/NSTask.m.orig Fri Apr 23 18:05:55 2010
+++ Source/NSTask.m Wed May 12 10:00:44 2010
@@ -53,7 +53,7 @@
#include <unistd.h>
#endif
#include <sys/types.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <fcntl.h>
#endif