diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2009-09-20 20:03:37 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2009-09-20 20:03:37 +0000 |
commit | b06f88c33f504bff86dfcb68f72f2a88291f469b (patch) | |
tree | 3215164f959bbc366deedfb97bed80b9e88742dc /media-sound/xwax/files | |
parent | Add IUSE=consolekit to control pambase dep. Give all rights to users in plugd... (diff) | |
download | historical-b06f88c33f504bff86dfcb68f72f2a88291f469b.tar.gz historical-b06f88c33f504bff86dfcb68f72f2a88291f469b.tar.bz2 historical-b06f88c33f504bff86dfcb68f72f2a88291f469b.zip |
Added patch to search for extra binaries (xwax_import, xwax_scan) in the PATH environment variable if they aren't found in the current directory
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/xwax/files')
-rw-r--r-- | media-sound/xwax/files/xwax-0.6-execlp.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-sound/xwax/files/xwax-0.6-execlp.patch b/media-sound/xwax/files/xwax-0.6-execlp.patch new file mode 100644 index 000000000000..14712f795bd1 --- /dev/null +++ b/media-sound/xwax/files/xwax-0.6-execlp.patch @@ -0,0 +1,34 @@ +diff --git a/library.c b/library.c +index 6b6526e..649738c 100644 +--- a/library.c ++++ b/library.c +@@ -315,8 +315,10 @@ int library_import(struct library_t *li, const char *scan, const char *path) + } + + if(execl(scan, "scan", path, NULL) == -1) { +- perror("execl"); +- exit(-1); ++ if(execlp(scan, "scan", path, NULL) == -1) { ++ perror("execl and execlp"); ++ exit(-1); ++ } + } + + abort(); /* execl() does not return */ +diff --git a/track.c b/track.c +index 6d28943..38c3e9d 100644 +--- a/track.c ++++ b/track.c +@@ -77,8 +77,10 @@ static int start_import(struct track_t *tr, const char *path) + } + + if(execl(tr->importer, "import", path, NULL) == -1) { +- perror("execl"); +- exit(-1); ++ if(execlp(tr->importer, "import", path, NULL) == -1) { ++ perror("execl and execlp"); ++ exit(-1); ++ } + } + + abort(); /* execl() never returns */ |