Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 12:58:16 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        freebsd-ports@freebsd.org, gogo@cs.uni-sb.de
Subject:   [patch] devel/py-lxml: compile at 10-CURRENT
Message-ID:  <4F1E72A8.9050004@passap.ru>

next in thread | raw e-mail | index | archive | help
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



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