summaryrefslogtreecommitdiff
path: root/dev-python/xcffib/files/xcffib-0.10.0-testing.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /dev-python/xcffib/files/xcffib-0.10.0-testing.patch
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'dev-python/xcffib/files/xcffib-0.10.0-testing.patch')
-rw-r--r--dev-python/xcffib/files/xcffib-0.10.0-testing.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/xcffib/files/xcffib-0.10.0-testing.patch b/dev-python/xcffib/files/xcffib-0.10.0-testing.patch
deleted file mode 100644
index 7c075ae9811c..000000000000
--- a/dev-python/xcffib/files/xcffib-0.10.0-testing.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/xcffib/testing.py b/xcffib/testing.py
-index ef0268a..0662fcf 100644
---- a/xcffib/testing.py
-+++ b/xcffib/testing.py
-@@ -31,11 +31,14 @@ def lock_path(display):
- def find_display():
- display = 10
- while True:
-- f = open(lock_path(display), "w+")
- try:
-- fcntl.flock(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)
-- except OSError:
-- f.close()
-+ f = open(lock_path(display), "w+")
-+ try:
-+ fcntl.flock(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)
-+ except:
-+ f.close()
-+ raise
-+ except OSError:
- display += 1
- continue
- return display, f