packages/sound/shairplay/patches/001-key_file_dir.patch
Ted Hess a9f87e3851 shairplay: Move to sound menu and sub-directory
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-02-04 15:13:08 -05:00

11 lines
521 B
Diff

--- a/src/shairplay.c
+++ b/src/shairplay.c
@@ -346,7 +346,7 @@ main(int argc, char *argv[])
raop_cbs.audio_destroy = audio_destroy;
raop_cbs.audio_set_volume = audio_set_volume;
- raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
+ raop = raop_init_from_keyfile(10, &raop_cbs, "/usr/share/shairplay/airport.key", NULL);
if (raop == NULL) {
fprintf(stderr, "Could not initialize the RAOP service\n");
fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");