mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add another path to look for the sound sets.
PR: 11940 Submitted by: maintainer
This commit is contained in:
parent
441a0ee37c
commit
1f9a89c9b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19246
18
audio/wsoundprefs/files/patch-ac
Normal file
18
audio/wsoundprefs/files/patch-ac
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/SoundPaths.c.orig Sun May 30 00:08:59 1999
|
||||
+++ src/SoundPaths.c Sun May 30 00:13:22 1999
|
||||
@@ -82,6 +82,7 @@
|
||||
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, "/usr/X11R6/share/WindowMaker/Sounds");
|
||||
} else {
|
||||
for (i=0; i<PLGetNumberOfElements(array); i++) {
|
||||
val = PLGetArrayElement(array, i);
|
||||
@@ -95,6 +96,7 @@
|
||||
wwarning(_("bad value in option SoundSetPath. Using default path list"));
|
||||
addPathToList(panel->sndsetL, -1, "~/GNUstep/Library/WindowMaker/SoundSets");
|
||||
addPathToList(panel->sndsetL, -1, "/usr/local/share/WindowMaker/SoundSets");
|
||||
+ addPathToList(panel->sndsetL, -1, "/usr/X11R6/share/WindowMaker/SoundSets");
|
||||
} else {
|
||||
for (i=0; i<PLGetNumberOfElements(array); i++) {
|
||||
val = PLGetArrayElement(array, i);
|
Loading…
Reference in New Issue
Block a user