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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to