FreeBSD Bugzilla – Attachment 189405 Details for
Bug 224902
[textproc/py-libxml2] undefined symbol _PyVerify_fd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SVN patch
libxml2_PyVerify_fd.diff (text/plain), 1.35 KB, created by
Michael Zhilin
on 2018-01-04 17:01:21 UTC
(
hide
)
Description:
SVN patch
Filename:
MIME Type:
Creator:
Michael Zhilin
Created:
2018-01-04 17:01:21 UTC
Size:
1.35 KB
patch
obsolete
>Index: textproc/libxml2/files/patch-python_types.c >=================================================================== >--- textproc/libxml2/files/patch-python_types.c (nonexistent) >+++ textproc/libxml2/files/patch-python_types.c (working copy) >@@ -0,0 +1,13 @@ >+--- python/types.c.orig 2018-01-04 07:57:37 UTC >++++ python/types.c >+@@ -31,8 +31,10 @@ libxml_PyFileGet(PyObject *f) { >+ const char *mode; >+ >+ fd = PyObject_AsFileDescriptor(f); >++#if PY_MAJOR_VERSION < 3 >+ if (!_PyVerify_fd(fd)) >+ return(NULL); >++#endif >+ /* >+ * Get the flags on the fd to understand how it was opened >+ */ > >Property changes on: 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: textproc/py-libxml2/Makefile >=================================================================== >--- textproc/py-libxml2/Makefile (revision 457966) >+++ textproc/py-libxml2/Makefile (working copy) >@@ -1,7 +1,7 @@ > # Created by: Alexander Nedotsukov <bland@FreeBSD.org> > # $FreeBSD$ > >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= textproc gnome python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224902
: 189405