From db2ad65b27a6ffe8e33e9fcd047feddec5e14f10 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 26 Mar 2017 10:54:52 +1100 Subject: sys-apps/apparmor-utils: revision bump adds binutils support Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- .../files/apparmor-utils-2.11-shebang.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys-apps/apparmor-utils/files/apparmor-utils-2.11-shebang.patch (limited to 'sys-apps/apparmor-utils/files') diff --git a/sys-apps/apparmor-utils/files/apparmor-utils-2.11-shebang.patch b/sys-apps/apparmor-utils/files/apparmor-utils-2.11-shebang.patch new file mode 100644 index 000000000000..3dce7c261688 --- /dev/null +++ b/sys-apps/apparmor-utils/files/apparmor-utils-2.11-shebang.patch @@ -0,0 +1,16 @@ +Avoid rewriting the shebang. + +The ebuild will take care of this when replicating the script for each of the +supported python implementations. + +--- a/utils/python-tools-setup.py ++++ b/utils/python-tools-setup.py +@@ -43,7 +43,7 @@ + f = prefix + s + # If we have a defined python version, use it instead of the system + # default +- if 'PYTHON' in os.environ: ++ if False: + lines = open(os.path.basename(s)).readlines() + lines[0] = '#! /usr/bin/env %s\n' % os.environ['PYTHON'] + open(f, 'w').write("".join(lines)) -- cgit v1.2.3-65-gdbad