From f29b16bdfbff4fab4cc93a80cd6b7162b7983452 Mon Sep 17 00:00:00 2001 From: veego Date: Mon, 20 May 2002 23:00:02 +0000 Subject: Fix a problem with testing the XShm extension, if you have a graphics card which has a working Xvideo extension. Maybe only related to XFree-current, but could be also caused by the last change to kern/sysv_shm.c. Approved by Alistair Crooks. --- graphics/ogle/patches/patch-ab | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 graphics/ogle/patches/patch-ab (limited to 'graphics') diff --git a/graphics/ogle/patches/patch-ab b/graphics/ogle/patches/patch-ab new file mode 100644 index 00000000000..353b31130d1 --- /dev/null +++ b/graphics/ogle/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2002/05/20 23:00:02 veego Exp $ + +--- ctrl/ctrl.c.orig Sun Dec 2 22:37:59 2001 ++++ ctrl/ctrl.c Sun May 19 22:55:37 2002 +@@ -1137,7 +1137,7 @@ + + if((shmid = shmget(IPC_PRIVATE, + size, +- IPC_CREAT | 0600)) == -1) { ++ IPC_CREAT | 0644)) == -1) { + perror("*ctrl: get_buffer, shmget failed"); + return -1; + } -- cgit v1.2.3