ports/104289: [PATCH] Fix net/py-dns build with Python 2.5

Xin LI delphij at FreeBSD.org
Wed Oct 11 06:00:44 UTC 2006


>Number:         104289
>Category:       ports
>Synopsis:       [PATCH] Fix net/py-dns build with Python 2.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 06:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386

>Description:
	In Python 2.5, pep-0263 is being enforced, causing py-dns
to be broken with it.
>How-To-Repeat:
	Clean build a copy of py-dns.
>Fix:

	Add the attached patchset to dns/py-dns would fix the issue.

	Maintainer CC'ed.

--- py-dns-python25.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files
#	files/patch-DNS-Lib.py
#	files/patch-DNS-Type.py
#
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-DNS-Lib.py
sed 's/^X//' >files/patch-DNS-Lib.py << 'END-of-files/patch-DNS-Lib.py'
X--- DNS/Lib.py.orig	Wed Oct 11 05:45:08 2006
X+++ DNS/Lib.py	Wed Oct 11 05:46:19 2006
X@@ -1,3 +1,4 @@
X+# This Python file uses the following encoding: iso8859-1
X """
X  $Id: Lib.py,v 1.11 2002/03/19 13:05:02 anthonybaxter Exp $
X 
END-of-files/patch-DNS-Lib.py
echo x - files/patch-DNS-Type.py
sed 's/^X//' >files/patch-DNS-Type.py << 'END-of-files/patch-DNS-Type.py'
X--- DNS/Type.py.orig	Wed Oct 11 05:44:59 2006
X+++ DNS/Type.py	Wed Oct 11 05:46:26 2006
X@@ -1,3 +1,4 @@
X+# This Python file uses the following encoding: iso8859-1
X """
X  $Id: Type.py,v 1.6 2002/03/19 12:41:33 anthonybaxter Exp $
X 
END-of-files/patch-DNS-Type.py
exit
--- py-dns-python25.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list