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:   ports/104289: [PATCH] Fix net/py-dns build with Python 2.5
Message-ID:  <200610110554.k9B5s98n022486@freefall.freebsd.org>
Resent-Message-ID: <200610110600.k9B60XC4022641@freefall.freebsd.org>

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

>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@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:



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