package/python-pyliftdi: fix patch
PATCH 1/1 package/python-pyliftdi: fix patch
The 0001 patch introduces leading tabs, when the rest of the file is using leading spaces, and python3 does not like that.
Fixes:
http://autobuild.buildroot.org/results/e24/e24a8e6f62139ab0efbce7a32c3d88c2cba839c6/ http://autobuild.buildroot.org/results/7b1/7b14c4bb4cac3ff006e77330cbd7b839ad80192a/ http://autobuild.buildroot.org/results/67c/67cddfdb801e83acfd9f197f5661fd43fa38a092/ [...]
Signed-off-by "Yann E. MORIN" <[email protected]>
Cc Christian Kellermann <[email protected]>
--- package/python-pylibftdi/0001-do-not-use-find-library.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-pylibftdi/0001-do-not-use-find-library.patch +1 -1
@@ -24,7 +24,7 @@ diff -purN pylibftdi-0.15.0.orig/pylibftdi/driver.py pylibftdi-0.15.0/pylibftdi/ if lib is None: - raise LibraryMissingError('{} library not found (search: {})'.format( - name, search_list)) -+ return cdll.LoadLibrary(name + '.so') ++ return cdll.LoadLibrary(name + '.so') + return lib
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH 1/1 package/python-pyliftdi: fix patch
Hello,
Quoted 9 lines · Yann E. MORIN
The 0001 patch introduces leading tabs, when the rest of the file is using leading spaces, and python3 does not like that.
Fixes:
http://autobuild.buildroot.org/results/e24/e24a8e6f62139ab0efbce7a32c3d88c2cba839c6/ http://autobuild.buildroot.org/results/7b1/7b14c4bb4cac3ff006e77330cbd7b839ad80192a/ http://autobuild.buildroot.org/results/67c/67cddfdb801e83acfd9f197f5661fd43fa38a092/ [...]
Quoted 5 lines
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Christian Kellermann <[email protected]>--- package/python-pylibftdi/0001-do-not-use-find-library.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.... and I missed the typo you did in the commit title :-/
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com