summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorveego <veego@pkgsrc.org>2002-05-20 23:00:02 +0000
committerveego <veego@pkgsrc.org>2002-05-20 23:00:02 +0000
commitf29b16bdfbff4fab4cc93a80cd6b7162b7983452 (patch)
tree7057be25bfda2eddb844e17af038cbaf30f6adb2 /graphics
parent48c7c377e42fc652a2d7985e04d5d290858c69a5 (diff)
downloadpkgsrc-f29b16bdfbff4fab4cc93a80cd6b7162b7983452.tar.gz
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.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ogle/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
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;
+ }