001-key_file_dir.patch 521 B

1234567891011
  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. - raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
  7. + raop = raop_init_from_keyfile(10, &raop_cbs, "/usr/share/shairplay/airport.key", NULL);
  8. if (raop == NULL) {
  9. fprintf(stderr, "Could not initialize the RAOP service\n");
  10. fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");