From 60060ae31db5d5c2d7587e286c5038c34b713da1 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 6 Apr 1999 19:33:20 +0000 Subject: Search sounds files in "${PREFIX}" not in "/usr/local". --- audio/wsoundprefs/patches/patch-aa | 9 +++++---- audio/wsoundprefs/patches/patch-ac | 13 +++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 audio/wsoundprefs/patches/patch-ac diff --git a/audio/wsoundprefs/patches/patch-aa b/audio/wsoundprefs/patches/patch-aa index aadc74a9945..1372bf4a37a 100644 --- a/audio/wsoundprefs/patches/patch-aa +++ b/audio/wsoundprefs/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/04/06 17:39:40 tron Exp $ +$NetBSD: patch-aa,v 1.2 1999/04/06 19:33:20 tron Exp $ ---- Imakefile.orig Mon Mar 8 03:17:43 1999 -+++ Imakefile Sun Mar 21 03:13:13 1999 -@@ -1,10 +1,10 @@ +--- Imakefile.orig Mon Mar 8 09:17:43 1999 ++++ Imakefile Tue Apr 6 21:23:08 1999 +@@ -1,10 +1,11 @@ #define IHaveSubdirs #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" @@ -12,6 +12,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/04/06 17:39:40 tron Exp $ XCOMM CDEBUGFLAGS = -Wall -ggdb -DDEBUG -CDEBUGFLAGS = -O6 -m486 +XCOMM CDEBUGFLAGS = -O6 -m486 ++CDEBUGFLAGS = -DPREFIX=\\\"$(PREFIX)\\\" SUBDIRS = src diff --git a/audio/wsoundprefs/patches/patch-ac b/audio/wsoundprefs/patches/patch-ac new file mode 100644 index 00000000000..305c07b5e7e --- /dev/null +++ b/audio/wsoundprefs/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 1999/04/06 19:33:20 tron Exp $ + +--- src/SoundPaths.c.orig Tue Mar 2 14:13:40 1999 ++++ src/SoundPaths.c Tue Apr 6 21:18:06 1999 +@@ -81,7 +81,7 @@ + if (array) + wwarning(_("bad value in option SoundPath. Using default path list")); + addPathToList(panel->sndL, -1, "~/GNUstep/Library/WindowMaker/Sounds"); +- addPathToList(panel->sndL, -1, "/usr/local/share/WindowMaker/Sounds"); ++ addPathToList(panel->sndL, -1, PREFIX "/share/WindowMaker/Sounds"); + } else { + for (i=0; i