All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/python-pyliftdi: fix patch
@ 2017-03-06 17:17 Yann E. MORIN
  2017-03-06 20:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2017-03-06 17:17 UTC (permalink / raw)
  To: buildroot

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" <yann.morin.1998@free.fr>
Cc: Christian Kellermann <christian.kellermann@solectrix.de>
---
 package/python-pylibftdi/0001-do-not-use-find-library.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/python-pylibftdi/0001-do-not-use-find-library.patch b/package/python-pylibftdi/0001-do-not-use-find-library.patch
index ae8fe2d..192ed43 100644
--- a/package/python-pylibftdi/0001-do-not-use-find-library.patch
+++ b/package/python-pylibftdi/0001-do-not-use-find-library.patch
@@ -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
  
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/python-pyliftdi: fix patch
  2017-03-06 17:17 [Buildroot] [PATCH] package/python-pyliftdi: fix patch Yann E. MORIN
@ 2017-03-06 20:14 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-03-06 20:14 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon,  6 Mar 2017 18:17:23 +0100, Yann E. MORIN wrote:
> 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" <yann.morin.1998@free.fr>
> Cc: Christian Kellermann <christian.kellermann@solectrix.de>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-06 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 17:17 [Buildroot] [PATCH] package/python-pyliftdi: fix patch Yann E. MORIN
2017-03-06 20:14 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.