[patch] devel/py-lxml: compile at 10-CURRENT

Boris Samorodov bsam at passap.ru
Tue Jan 24 08:58:19 UTC 2012


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
-----

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list