From owner-freebsd-ports@FreeBSD.ORG Tue Jan 24 09:44:18 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A21106566B for ; Tue, 24 Jan 2012 09:44:18 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id F3A788FC08 for ; Tue, 24 Jan 2012 09:44:17 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward12.mail.yandex.net (Yandex) with ESMTP id 31DB1C21ABA; Tue, 24 Jan 2012 13:44:16 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1327398256; bh=73RfXyRUx9Ppi03P7PkWZJY52qX3VWVGgLJAF8tPrxA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=g9tY/iWH2IakkKscxW3I3k++JSBMYVtx6Hg1kX9OsYPuIVU8vGcV2WwIWq4Ox+A5x v+dtKriBx2Ml3Y12812P09NnWcFqL8Njsd5i4lYyZN8f0u/j3BL4HT3vJbg4tYtmCj wxvlSYqnvGtegrzY1DLHxM/fBehV2yP3mLUMuH/0= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 04D60E403E1; Tue, 24 Jan 2012 13:44:16 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1327398256; bh=73RfXyRUx9Ppi03P7PkWZJY52qX3VWVGgLJAF8tPrxA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=g9tY/iWH2IakkKscxW3I3k++JSBMYVtx6Hg1kX9OsYPuIVU8vGcV2WwIWq4Ox+A5x v+dtKriBx2Ml3Y12812P09NnWcFqL8Njsd5i4lYyZN8f0u/j3BL4HT3vJbg4tYtmCj wxvlSYqnvGtegrzY1DLHxM/fBehV2yP3mLUMuH/0= Received: from unknown (unknown [213.27.65.65]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iFLeJEqW-iFLqWMCE; Tue, 24 Jan 2012 13:44:15 +0400 X-Yandex-Spam: 1 Message-ID: <4F1E7D48.7050609@yandex.ru> Date: Tue, 24 Jan 2012 13:43:36 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20120123 Thunderbird/9.0 MIME-Version: 1.0 To: Boris Samorodov References: <4F1E72A8.9050004@passap.ru> In-Reply-To: <4F1E72A8.9050004@passap.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gogo@cs.uni-sb.de, freebsd-ports@freebsd.org Subject: Re: [patch] devel/py-lxml: compile at 10-CURRENT 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: Tue, 24 Jan 2012 09:44:18 -0000 Hi, Boris! Boris Samorodov wrote on 24.01.2012 12:58: > Hi! > > There is an error while compiling devel/py-lxml at 10-CURRENT: > http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.10.20120114180333/py27-lxml-2.3.2.log > > > I managed to compile the port with the following patch, but I'm sure > there is a proper way to do it. Here is the patch: > ----- > --- src/lxml/lxml.etree.c.orig 2012-01-24 12:46:24.844235483 +0400 > +++ src/lxml/lxml.etree.c 2012-01-24 12:45:28.653235337 +0400 > @@ -1,5 +1,7 @@ > /* Generated by Cython 0.15.1 on Fri Nov 11 16:39:03 2011 */ > > +#include > + > #define PY_SSIZE_T_CLEAN > #include "Python.h" > #ifndef Py_PYTHON_H > ----- Nice, i'll check it. It's better then patching both py-lxml and libxslt anyway. Btw, did you read this related thread by avg@: http://lists.freebsd.org/pipermail/freebsd-python/2012-January/003825.html May be you have some thoughts about proper way. -- Regards, Ruslan Tinderboxing kills... the drives.