From owner-freebsd-python@FreeBSD.ORG Wed Oct 11 05:54:10 2006 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3110716A403; Wed, 11 Oct 2006 05:54:10 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8024A43D76; Wed, 11 Oct 2006 05:54:09 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9B5s9mX022487; Wed, 11 Oct 2006 05:54:09 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9B5s98n022486; Wed, 11 Oct 2006 05:54:09 GMT (envelope-from delphij) Date: Wed, 11 Oct 2006 05:54:09 GMT Message-Id: <200610110554.k9B5s98n022486@freefall.freebsd.org> To: FreeBSD-gnats-submit@freebsd.org From: Xin LI X-send-pr-version: 3.113 X-GNATS-Notify: Cc: python@freebsd.org, linimon@freebsd.org Subject: [PATCH] Fix net/py-dns build with Python 2.5 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Xin LI List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 05:54:10 -0000 >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 ---