summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/files/patch-x11::xt.c
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-10-13 16:16:04 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-10-13 16:16:04 +0000
commit49c0729ce889223884dcafefbc71f1a1f10dce79 (patch)
tree4e9a226fc213b00075639c3580419ab32a8babb2 /multimedia/xawtv/files/patch-x11::xt.c
parentAdd p5-Apache-VMonitor 0.8, (diff)
Don't treat a nonremote display as remote (and so disabling the the overlay
mode w/o a need to) PR: ports/57869 Submitted By: Matthias Andree <matthias.andree@web.de>
Diffstat (limited to '')
-rw-r--r--multimedia/xawtv/files/patch-x11::xt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/xawtv/files/patch-x11::xt.c b/multimedia/xawtv/files/patch-x11::xt.c
new file mode 100644
index 000000000000..86487e873333
--- /dev/null
+++ b/multimedia/xawtv/files/patch-x11::xt.c
@@ -0,0 +1,12 @@
+diff -ur xawtv-3.88.1/x11/xt.c xawtv-3.88.1-ma/x11/xt.c
+--- x11/xt.c Wed Apr 16 12:23:12 2003
++++ x11/xt.c Sat Oct 11 21:04:36 2003
+@@ -1459,7 +1459,7 @@
+ fprintf(stderr,"*");
+
+ /* catch unix sockets on FreeBSD */
+- if (0 == length) {
++ if (0 == length || ss.ss_family == AF_UNIX) {
+ if (debug)
+ fprintf(stderr, " ok (unix socket)\n");
+ return;