First Commit
[librecmc/package-feed.git] / sound / shairplay / patches / 001-key_file_dir.patch
1 --- a/src/shairplay.c
2 +++ b/src/shairplay.c
3 @@ -350,7 +350,7 @@ main(int argc, char *argv[])
4         raop_cbs.audio_destroy = audio_destroy;
5         raop_cbs.audio_set_volume = audio_set_volume;
6  
7 -       raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
8 +       raop = raop_init_from_keyfile(10, &raop_cbs, "/usr/share/shairplay/airport.key", NULL);
9         if (raop == NULL) {
10                 fprintf(stderr, "Could not initialize the RAOP service\n");
11                 fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");