diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-02-11 22:45:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-02-11 22:45:23 +0800 |
commit | d509a644f9bc1d2d8e336f14d472f15c794d6bb2 (patch) | |
tree | 366f1ce535a3ff3346487f674fadff0a27af2b29 /graphics/xv/files | |
parent | 26ac7e915935caf567dd27f6e15a075502e2a3d3 (diff) | |
download | freebsd-ports-gnome-d509a644f9bc1d2d8e336f14d472f15c794d6bb2.tar.gz freebsd-ports-gnome-d509a644f9bc1d2d8e336f14d472f15c794d6bb2.tar.zst freebsd-ports-gnome-d509a644f9bc1d2d8e336f14d472f15c794d6bb2.zip |
- add workaround for a deadlock in libxcb
PR: 143043
Diffstat (limited to 'graphics/xv/files')
-rw-r--r-- | graphics/xv/files/patch-xvmisc.c | 19 | ||||
-rw-r--r-- | graphics/xv/files/patch-xvvd.c | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/graphics/xv/files/patch-xvmisc.c b/graphics/xv/files/patch-xvmisc.c new file mode 100644 index 000000000000..38cf152e6c68 --- /dev/null +++ b/graphics/xv/files/patch-xvmisc.c @@ -0,0 +1,19 @@ +--- xvmisc.c.orig 2010-02-11 14:29:41.000000000 +0100 ++++ xvmisc.c 2010-02-11 15:25:03.000000000 +0100 +@@ -504,6 +504,7 @@ + } + + ++extern int InSignal; + /***********************************/ + void Quit(i) + int i; +@@ -601,7 +619,8 @@ + } + } + ++ if (InSignal == 0) + XSync(theDisp, False); + exit(i); + } + diff --git a/graphics/xv/files/patch-xvvd.c b/graphics/xv/files/patch-xvvd.c new file mode 100644 index 000000000000..a3ec3b0d0b40 --- /dev/null +++ b/graphics/xv/files/patch-xvvd.c @@ -0,0 +1,20 @@ +--- xvvd.c.orig 2007-04-16 06:30:19.000000000 +0200 ++++ xvvd.c 2010-02-11 15:23:41.000000000 +0100 +@@ -1060,6 +1060,8 @@ + #endif + } + ++int InSignal = 0; ++ + void vd_handler(sig) + int sig; + { +@@ -1068,7 +1070,7 @@ + #else + sigblock(sigmask(sig)); + #endif +- ++ InSignal = 1; + Quit(1); /*exit(1);*/ + } + |