diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-04-06 07:45:22 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-06 10:57:55 +0200 |
commit | 70c9c8edbe611267d627a4055a0dd877d79634cb (patch) | |
tree | 19023aa78db2dfd13db1b556c8ca848282856e31 /package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch | |
parent | 4b85a6b34641ef4749ab6906383f858075c05041 (diff) | |
download | buildroot-70c9c8edbe611267d627a4055a0dd877d79634cb.tar.gz buildroot-70c9c8edbe611267d627a4055a0dd877d79634cb.zip |
lirc-tools: fix build with host python3
Add an upstream patch making make_rel_symlink.py python3 compatible. Add
another patch that removes python3 dependency.
Fixes:
http://autobuild.buildroot.net/results/6c6/6c6e014a751650c16d25dfd3d673bd3199c72b2e/
http://autobuild.buildroot.net/results/857/85724dfd014cec5a80dd18a635826daa2edc1417/
http://autobuild.buildroot.net/results/a74/a74563f700a47065ffd1ba42c83c2d7722bacd89/
and many others.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch')
-rw-r--r-- | package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch b/package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch new file mode 100644 index 0000000000..070aab941c --- /dev/null +++ b/package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch @@ -0,0 +1,28 @@ +From c861eae83bae3116d330efb3c6061e2de4fdcbce Mon Sep 17 00:00:00 2001 +From: Baruch Siach <baruch@tkos.co.il> +Date: Sun, 5 Apr 2015 22:26:12 +0300 +Subject: [PATCH] tools: make_rel_symlink.py can also use python2 + +The make_rel_symlink.py script is compatible with both python2 and python3. +Don't hard code a requirement for python3. + +Patch status: sent upstream + +Signed-off-by: Baruch Siach <baruch@tkos.co.il> +--- + tools/make_rel_symlink.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/make_rel_symlink.py b/tools/make_rel_symlink.py +index 896637ff93e0..ff0403a0397a 100755 +--- a/tools/make_rel_symlink.py ++++ b/tools/make_rel_symlink.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/env python + + import os + import os.path +-- +2.1.4 + |