diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-04 17:25:34 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-07 10:33:23 +0700 |
commit | 552fad9c44172c348117cc46f01949e7dc556ddb (patch) | |
tree | c65a34e185ce26b757a000affe0aeb2db377e700 /audio/tap_plugins/reverbed-default-config.diff | |
parent | 230d78d59a2b13fb93f8094b191d55d0ca311a0a (diff) | |
download | slackbuilds-552fad9c44172c348117cc46f01949e7dc556ddb.tar.gz |
audio/tap_plugins: Updated for version 0.7.3, add desktop/setcap.
Diffstat (limited to 'audio/tap_plugins/reverbed-default-config.diff')
-rw-r--r-- | audio/tap_plugins/reverbed-default-config.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/tap_plugins/reverbed-default-config.diff b/audio/tap_plugins/reverbed-default-config.diff new file mode 100644 index 0000000000..e9df247d25 --- /dev/null +++ b/audio/tap_plugins/reverbed-default-config.diff @@ -0,0 +1,26 @@ +diff -Naur tap-reverbed-r0/src/file_io.c tap-reverbed-r0.patched/src/file_io.c +--- tap-reverbed-r0/src/file_io.c 2004-06-18 07:19:01.000000000 -0400 ++++ tap-reverbed-r0.patched/src/file_io.c 2015-11-04 16:11:02.000000000 -0500 +@@ -62,6 +62,8 @@ + } + + ++/* default config, used as fallback if ~/.reverbed not found */ ++#define SYS_REVERBED "/etc/reverbed/reverbed.conf" + + REVTYPE * + parse_input_file(void) { +@@ -85,8 +87,11 @@ + home = "."; + sprintf(path, "%s/%s", home, NAME_REVERBED); + if ((infile = fopen(path,"rt")) == NULL) { +- fprintf(stderr, "Unable to open %s\n", path); +- return(NULL); ++ fprintf(stderr, "Unable to open %s, trying %s\n", path, SYS_REVERBED); ++ if ((infile = fopen(SYS_REVERBED ,"rt")) == NULL) { ++ fprintf(stderr, "Unable to open %s", SYS_REVERBED); ++ return(NULL); ++ } + } + + if ((root = malloc(sizeof(REVTYPE))) == NULL) { |