mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
afpfs-ng: add patch to fix searching of afpfsd
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8f051ac286
commit
edd75a3217
@ -0,0 +1,14 @@
|
||||
diff -Naur afpfs-ng-0.8.1/fuse/client.c afpfs-ng-0.8.1.patch/fuse/client.c
|
||||
--- afpfs-ng-0.8.1/fuse/client.c 2008-03-08 03:44:16.000000000 +0100
|
||||
+++ afpfs-ng-0.8.1.patch/fuse/client.c 2011-05-22 19:08:53.938152499 +0200
|
||||
@@ -61,8 +61,8 @@
|
||||
snprintf(filename, PATH_MAX,
|
||||
"/usr/local/bin/%s",AFPFSD_FILENAME);
|
||||
if (access(filename,X_OK)) {
|
||||
- snprintf(filename, "/usr/bin/%s",
|
||||
- AFPFSD_FILENAME);
|
||||
+ snprintf(filename, PATH_MAX,
|
||||
+ "/usr/bin/%s", AFPFSD_FILENAME);
|
||||
if (access(filename,X_OK)) {
|
||||
printf("Could not find server (%s)\n",
|
||||
filename);
|
Loading…
x
Reference in New Issue
Block a user