diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-14 16:01:01 +0800 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-14 16:01:01 +0800 |
commit | 38583b25312b139e0d2ddf25ac18a6cee78e6dbd (patch) | |
tree | 11a13dfbee50d4b12c5ef99075fe76f8c13baf05 /audio/workman | |
parent | 8a21c8a0f38b73daaf2edc8c7e10e988e5ae092f (diff) | |
download | freebsd-ports-gnome-38583b25312b139e0d2ddf25ac18a6cee78e6dbd.tar.gz freebsd-ports-gnome-38583b25312b139e0d2ddf25ac18a6cee78e6dbd.tar.zst freebsd-ports-gnome-38583b25312b139e0d2ddf25ac18a6cee78e6dbd.zip |
Add support for env-variable 'MUSIC_CD' of cdcontrol fame.
Diffstat (limited to 'audio/workman')
-rw-r--r-- | audio/workman/files/patch-ab | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/workman/files/patch-ab b/audio/workman/files/patch-ab new file mode 100644 index 000000000000..e09eb38a8fa7 --- /dev/null +++ b/audio/workman/files/patch-ab @@ -0,0 +1,12 @@ +--- workman_stubs.c.orig Sat Feb 14 08:47:37 1998 ++++ workman_stubs.c Sat Feb 14 08:50:16 1998 +@@ -163,6 +163,9 @@ + "Workman.Db.Shared", dbfiles); + if (dbfiles) + dbfiles = WMstrdup(dbfiles); ++ name = getenv("MUSIC_CD"); ++ if (name) ++ cd_device = name; + + reverse_threshold = defaults_get_integer("workman.reverseThreshold", + "Workman.ReverseThreshold", reverse_threshold); |