pkgsrc/emulators/peace/patches/patch-aa
kent f76304e4e9 Make this compilable on the recent NetBSD-4.
- support for KERN_OLDSYSVSHM
   patch provided by Sergey Svishchev
 - no support for NetBSD-5 because of /emul/pecoff
2008-12-07 16:23:45 +00:00

14 lines
343 B
Text

$NetBSD: patch-aa,v 1.3 2008/12/07 16:23:45 kent Exp $
--- dll/ui.so/X11.cc.orig 2008-12-08 01:09:48.000000000 +0900
+++ dll/ui.so/X11.cc
@@ -41,6 +41,9 @@
#include <sys/param.h>
#include <sys/shm.h>
#include <sys/sysctl.h>
+#ifndef KERN_SYSVSHM
+#define KERN_SYSVSHM KERN_OLDSYSVSHM
+#endif
#include "X11.h"
#include "WindowObject.h"