Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 05:54:09 GMT
From:      Xin LI <delphij@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        python@freebsd.org, linimon@freebsd.org
Subject:   [PATCH] Fix net/py-dns build with Python 2.5
Message-ID:  <200610110554.k9B5s98n022486@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Xin LI
>Organization:	The FreeBSD Project
>Confidential:	no
>Synopsis:	[PATCH] Fix net/py-dns build with Python 2.5
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 6.0-STABLE i386
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@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 ---





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610110554.k9B5s98n022486>