diff options
Diffstat (limited to 'sys-apps/firejail/files/0.9.46-contrib-fix.patch')
-rw-r--r-- | sys-apps/firejail/files/0.9.46-contrib-fix.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sys-apps/firejail/files/0.9.46-contrib-fix.patch b/sys-apps/firejail/files/0.9.46-contrib-fix.patch new file mode 100644 index 000000000000..fc882b4dc6e6 --- /dev/null +++ b/sys-apps/firejail/files/0.9.46-contrib-fix.patch @@ -0,0 +1,57 @@ +diff -Naur firejail-0.9.46/contrib/fix_private-bin.py firejail-0.9.46.new/contrib/fix_private-bin.py +--- firejail-0.9.46/contrib/fix_private-bin.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fix_private-bin.py 2017-05-29 15:25:56.355489307 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + + __author__ = "KOLANICH" + __copyright__ = """This is free and unencumbered software released into the public domain. +diff -Naur firejail-0.9.46/contrib/fjclip.py firejail-0.9.46.new/contrib/fjclip.py +--- firejail-0.9.46/contrib/fjclip.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjclip.py 2017-05-29 15:25:39.463236203 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +@@ -32,4 +32,4 @@ + else: + display = fjdisplay.getdisplay(sys.argv[2]) + clipout = subprocess.Popen(['xsel','-b','-i','--display',display],stdin=subprocess.PIPE) +- clipout.communicate(clipin) +\ Brak znaku nowej linii na końcu pliku ++ clipout.communicate(clipin) +diff -Naur firejail-0.9.46/contrib/fjdisplay.py firejail-0.9.46.new/contrib/fjdisplay.py +--- firejail-0.9.46/contrib/fjdisplay.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjdisplay.py 2017-05-29 15:25:47.191351983 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +@@ -40,4 +40,4 @@ + if len(sys.argv) == 1: + print(getfirejails()) + if len(sys.argv) == 2: +- print (getdisplay(sys.argv[1])) +\ Brak znaku nowej linii na końcu pliku ++ print (getdisplay(sys.argv[1])) +diff -Naur firejail-0.9.46/contrib/fjresize.py firejail-0.9.46.new/contrib/fjresize.py +--- firejail-0.9.46/contrib/fjresize.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjresize.py 2017-05-29 15:26:03.728599816 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import sys + import fjdisplay +@@ -22,4 +22,4 @@ + out = subprocess.check_output(['xrandr','--display',fjdisplay.getdisplay(sys.argv[1]),'--output','default','--mode',sys.argv[2]]) + print(out) + else: +- print(usage) +\ Brak znaku nowej linii na końcu pliku ++ print(usage) |