From owner-freebsd-ports@FreeBSD.ORG Wed Oct 11 18:49:33 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88A916A407 for ; Wed, 11 Oct 2006 18:49:33 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD08F43D60 for ; Wed, 11 Oct 2006 18:49:31 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA26913 for ; Wed, 11 Oct 2006 21:49:26 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <452D3CB6.3030005@icyb.net.ua> Date: Wed, 11 Oct 2006 21:49:26 +0300 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.7 (X11/20060915) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: python 2.5 upgrade: error in devel/py-sip X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 18:49:34 -0000 devel/py-sip port failed to get upgraded to python 2.5 using standard procedure. This port is used by py-qt which is used by some python GUI applications. The reason for the failure is changes in object.h, struct PyHeapTypeObject: fields type and name were renamed in 2.5 to ht_type and ht_name correspondingly. I was able to get the port updated and working [tested] by simply blanket replacing occurrences of "super.type" and "super.name" with "super.ht_type" and "super.ht_name". Thus the port probably needs to have a python-version-specific patch. P.S. the port doesn't seem to have a maintainer. -- Andriy Gapon