summaryrefslogtreecommitdiff
path: root/emulators/peace/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/peace/patches/patch-aa')
-rw-r--r--emulators/peace/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/peace/patches/patch-aa b/emulators/peace/patches/patch-aa
new file mode 100644
index 00000000000..8dcedb60b90
--- /dev/null
+++ b/emulators/peace/patches/patch-aa
@@ -0,0 +1,14 @@
+$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"