summaryrefslogtreecommitdiff
path: root/audio/wsoundprefs
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-06 19:33:20 +0000
committertron <tron@pkgsrc.org>1999-04-06 19:33:20 +0000
commit60060ae31db5d5c2d7587e286c5038c34b713da1 (patch)
treedd4ca40adb21acc1c09d6b5274b40642ce4433a0 /audio/wsoundprefs
parent4da2b5f3640856313610564fa882285ce60c1faf (diff)
downloadpkgsrc-60060ae31db5d5c2d7587e286c5038c34b713da1.tar.gz
Search sounds files in "${PREFIX}" not in "/usr/local".
Diffstat (limited to 'audio/wsoundprefs')
-rw-r--r--audio/wsoundprefs/patches/patch-aa9
-rw-r--r--audio/wsoundprefs/patches/patch-ac13
2 files changed, 18 insertions, 4 deletions
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<PLGetNumberOfElements(array); i++) {
+ val = PLGetArrayElement(array, i);