Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 13:43:36 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        gogo@cs.uni-sb.de, freebsd-ports@freebsd.org
Subject:   Re: [patch] devel/py-lxml: compile at 10-CURRENT
Message-ID:  <4F1E7D48.7050609@yandex.ru>
In-Reply-To: <4F1E72A8.9050004@passap.ru>
References:  <4F1E72A8.9050004@passap.ru>

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

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 <locale.h>
> +
> #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.



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