summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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