X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=blobdiff_plain;f=debian%2Fpatches%2Fread_airportkey_from_etc.patch;fp=debian%2Fpatches%2Fread_airportkey_from_etc.patch;h=80d4d17b91755d5c5007231fa34b2479a2eed6c3;hp=0000000000000000000000000000000000000000;hb=6c0346390f001f8916a45f46eccd047a019258ef;hpb=15c988f7c658c689d3485ca35ccbbafa736df98c diff --git a/debian/patches/read_airportkey_from_etc.patch b/debian/patches/read_airportkey_from_etc.patch new file mode 100644 index 0000000..80d4d17 --- /dev/null +++ b/debian/patches/read_airportkey_from_etc.patch @@ -0,0 +1,16 @@ +--- shairplay-0.9.0.orig/src/shairplay.c ++++ shairplay-0.9.0/src/shairplay.c +@@ -313,8 +313,11 @@ main(int argc, char *argv[]) + + raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL); + if (raop == NULL) { +- fprintf(stderr, "Could not initialize the RAOP service\n"); +- return -1; ++ raop = raop_init_from_keyfile(10, &raop_cbs, "/etc/shairplay/airport.key", NULL); ++ if (raop == NULL) { ++ fprintf(stderr, "Could not initialize the RAOP service\n"); ++ return -1; ++ } + } + + if (strlen(options.password)) {