Index: head/textproc/libxml2/files/patch-python_types.c =================================================================== --- head/textproc/libxml2/files/patch-python_types.c (nonexistent) +++ head/textproc/libxml2/files/patch-python_types.c (revision 482978) @@ -0,0 +1,30 @@ +From d910e99c322a0895955038c700471e9b1fd91fa6 Mon Sep 17 00:00:00 2001 +From: Patrick Welche +Date: Mon, 6 Nov 2017 16:20:25 +0000 +Subject: [PATCH] python: remove single use of _PyVerify_fd + +_PyVerify_fd disappeared from python with: + + https://hg.python.org/cpython/rev/e88e2049b793 + +https://bugzilla.gnome.org/show_bug.cgi?id=776815 +--- + python/types.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/python/types.c b/python/types.c +index f2376776..124af565 100644 +--- python/types.c ++++ python/types.c +@@ -31,8 +31,6 @@ libxml_PyFileGet(PyObject *f) { + const char *mode; + + fd = PyObject_AsFileDescriptor(f); +- if (!_PyVerify_fd(fd)) +- return(NULL); + /* + * Get the flags on the fd to understand how it was opened + */ +-- +2.18.1 + Property changes on: head/textproc/libxml2/files/patch-python_types.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/py-libxml2/Makefile =================================================================== --- head/textproc/py-libxml2/Makefile (revision 482977) +++ head/textproc/py-libxml2/Makefile (revision 482978) @@ -1,34 +1,34 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= textproc gnome python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gnome@FreeBSD.org COMMENT= Python interface for XML parser library for GNOME MASTERDIR= ${.CURDIR}/../libxml2 BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${BUILD_WRKSRC} DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist USE_GNOME= libxml2 USES= python gettext-runtime USE_PYTHON= autoplist distutils CPPFLAGS+= `${PYTHON_CMD}-config --cflags` LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_CMD}-config --libs` CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${PYTHON_CMD} DOCSDIR= ${PREFIX}/share/doc/py-libxml2 EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2 post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/libxml2mod.so .include "${MASTERDIR}/Makefile"