aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-19 23:25:17 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-19 23:25:17 +0000
commitafe4918caafdb7486fdbbd115576ad4242af3531 (patch)
tree2bcca1ca1bbc0187f69b5718f7ffe7a53c570756 /x11-toolkits
parent3822362696710f7f0475c7045083f7ec279dbf1e (diff)
downloadports-afe4918caafdb7486fdbbd115576ad4242af3531.tar.gz
ports-afe4918caafdb7486fdbbd115576ad4242af3531.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-xlib/Makefile1
-rw-r--r--x11-toolkits/py-xlib/files/patch-display18
-rw-r--r--x11-toolkits/py-xlib/files/patch-unix_connect14
3 files changed, 33 insertions, 0 deletions
diff --git a/x11-toolkits/py-xlib/Makefile b/x11-toolkits/py-xlib/Makefile
index fa03ace20312..df51b93fec17 100644
--- a/x11-toolkits/py-xlib/Makefile
+++ b/x11-toolkits/py-xlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xlib
PORTVERSION= 0.12a
+PORTREVISION= 1
CATEGORIES= x11-toolkits python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-xlib
diff --git a/x11-toolkits/py-xlib/files/patch-display b/x11-toolkits/py-xlib/files/patch-display
new file mode 100644
index 000000000000..4d573c94ad81
--- /dev/null
+++ b/x11-toolkits/py-xlib/files/patch-display
@@ -0,0 +1,18 @@
+--- Xlib/protocol/display.py-orig Tue Jul 18 15:28:31 2006
++++ Xlib/protocol/display.py Tue Jul 18 15:29:31 2006
+@@ -1,5 +1,5 @@
+ # $Id: display.py,v 1.17 2002/02/25 11:09:23 petli Exp $
+-#
++# -*- coding: latin-1 -*-
+ # Xlib.protocol.display -- core display communication
+ #
+ # Copyright (C) 2000-2002 Peter Liljenberg <petli@ctrl-c.liu.se>
+@@ -527,7 +527,7 @@
+ # We're the recieving thread, parse the data
+ if recieving:
+ try:
+- recv = self.socket.recv(2048)
++ recv = self.socket.recv(4096)
+ except socket.error, err:
+ self.close_internal('server: %s' % err[1])
+ raise self.socket_error
diff --git a/x11-toolkits/py-xlib/files/patch-unix_connect b/x11-toolkits/py-xlib/files/patch-unix_connect
new file mode 100644
index 000000000000..d068cdf0f942
--- /dev/null
+++ b/x11-toolkits/py-xlib/files/patch-unix_connect
@@ -0,0 +1,14 @@
+--- Xlib/support/unix_connect.py-orig Tue Jul 18 15:34:34 2006
++++ Xlib/support/unix_connect.py Tue Jul 18 15:35:10 2006
+@@ -23,7 +23,10 @@
+ import os
+ import socket
+ import fcntl
+-import FCNTL
++try:
++ import FCNTL
++except ImportError:
++ FCNTL = fcntl
+
+ from Xlib import error
+