diff options
Diffstat (limited to 'graphics/ogle/patches/patch-ab')
-rw-r--r-- | graphics/ogle/patches/patch-ab | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/graphics/ogle/patches/patch-ab b/graphics/ogle/patches/patch-ab index 353b31130d1..a1240803a62 100644 --- a/graphics/ogle/patches/patch-ab +++ b/graphics/ogle/patches/patch-ab @@ -1,13 +1,34 @@ -$NetBSD: patch-ab,v 1.1 2002/05/20 23:00:02 veego Exp $ +$NetBSD: patch-ab,v 1.2 2002/06/16 18:12:58 wiz 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; - } +--- configure.in.orig Wed Jun 12 00:00:28 2002 ++++ configure.in Thu Jun 13 12:03:11 2002 +@@ -351,16 +351,16 @@ + esac + fi + +-dnl check for openbsd audio ++dnl check for netbsd/openbsd audio + AC_ARG_ENABLE([obsdaudio], +- [ --disable-obsdaudio make a version not using OpenBSD audio]) ++ [ --disable-obsdaudio make a version not using NetBSD/OpenBSD audio]) + if test "x$enable_obsdaudio" != xno; then + case "$host" in +- *-openbsd*) ++ *-netbsd*|*-openbsd*) + + dnl only define LIBOGLEAO_OBSD headers found + dnl sys/audioio.h +- AC_DEFINE([LIBOGLEAO_OBSD],,[libogleao OpenBSD audio support]) ++ AC_DEFINE([LIBOGLEAO_OBSD],,[libogleao NetBSD/OpenBSD audio support]) + DEFAULT_AUDIO_DRIVER="obsd" + ;; + esac +@@ -371,7 +371,7 @@ + [ --disable-sunaudio make a version not using Sun audio]) + if test "x$enable_sunaudio" != xno; then + case "$host" in +- *-sun-solaris*|*-netbsd*) ++ *-sun-solaris*) + + dnl check for headers.. only define LIBOGLEAO_OSS if headers are found. + AC_DEFINE([LIBOGLEAO_SOLARIS],,[libogleao solaris audio support]) |