summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch')
-rw-r--r--x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch
new file mode 100644
index 000000000000..314ef789c3b6
--- /dev/null
+++ b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch
@@ -0,0 +1,11 @@
+Make shebangs Gentoo Prefix friendly
+See also: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/
+
+--- a/thinkhdaps.py
++++ b/thinkhdaps.py
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env python2
+ # Copyright (c) 2008-2009 Thomas Pani <thomas.pani@gmail.com>
+ # based on an awn applet Copyright (c) 2008 onox <denkpadje@gmail.com>
+ #