View | Details | Raw Unified | Return to bug 100569
Collapse All | Expand All

(-)py-xlib/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	xlib
8
PORTNAME=	xlib
9
PORTVERSION=	0.12a
9
PORTVERSION=	0.12a
10
PORTREVISION=	2
10
CATEGORIES=	x11-toolkits python
11
CATEGORIES=	x11-toolkits python
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	python-xlib
13
MASTER_SITE_SUBDIR=	python-xlib
(-)py-xlib/files/patch-display (+18 lines)
Line 0 Link Here
1
--- Xlib/protocol/display.py-orig	Tue Jul 18 15:28:31 2006
2
+++ Xlib/protocol/display.py	Tue Jul 18 15:29:31 2006
3
@@ -1,5 +1,5 @@
4
 # $Id: display.py,v 1.17 2002/02/25 11:09:23 petli Exp $
5
-#
6
+# -*- coding: latin-1 -*-
7
 # Xlib.protocol.display -- core display communication
8
 #
9
 #    Copyright (C) 2000-2002 Peter Liljenberg <petli@ctrl-c.liu.se>
10
@@ -527,7 +527,7 @@
11
 		# We're the recieving thread, parse the data
12
 		if recieving:
13
 		    try:
14
-			recv = self.socket.recv(2048)
15
+			recv = self.socket.recv(4096)
16
 		    except socket.error, err:
17
 			self.close_internal('server: %s' % err[1])
18
 			raise self.socket_error
(-)py-xlib/files/patch-unix_connect (+14 lines)
Line 0 Link Here
1
--- Xlib/support/unix_connect.py-orig	Tue Jul 18 15:34:34 2006
2
+++ Xlib/support/unix_connect.py	Tue Jul 18 15:35:10 2006
3
@@ -23,7 +23,10 @@
4
 import os
5
 import socket
6
 import fcntl
7
-import FCNTL
8
+try:
9
+    import FCNTL
10
+except ImportError:
11
+    FCNTL = fcntl
12
 
13
 from Xlib import error
14

Return to bug 100569