packages/sound/shairplay/patches/001-key_file_dir.patch
Álvaro Fernández Rojas f4e9b2d9e9 shairplay: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-02-27 12:47:47 +01:00

11 lines
521 B
Diff

--- a/src/shairplay.c
+++ b/src/shairplay.c
@@ -350,7 +350,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");