FreeBSD Bugzilla – Attachment 205006 Details for
Bug 238522
textproc/libxslt: fix bug preventing OpenOffice build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add fix to port and bump portrevision
libxslt-backup-fix-rev0.diff (text/plain), 1.49 KB, created by
Steve Wills
on 2019-06-12 13:30:43 UTC
(
hide
)
Description:
patch to add fix to port and bump portrevision
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2019-06-12 13:30:43 UTC
Size:
1.49 KB
patch
obsolete
>diff --git textproc/libxslt/Makefile textproc/libxslt/Makefile >index 6fae9d37756c..92d28fb346af 100644 >--- textproc/libxslt/Makefile >+++ textproc/libxslt/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= libxslt > PORTVERSION= 1.1.32 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES?= textproc gnome > MASTER_SITES= http://xmlsoft.org/sources/ \ > https://mirror.umd.edu/xbmc/build-deps/sources/ >diff --git textproc/libxslt/files/patch-libxslt-keys.c textproc/libxslt/files/patch-libxslt-keys.c >new file mode 100644 >index 000000000000..6f9cc9df82f4 >--- /dev/null >+++ textproc/libxslt/files/patch-libxslt-keys.c >@@ -0,0 +1,26 @@ >+--- libxslt/keys.c.orig 2017-12-02 03:58:51.000000000 -0500 >++++ libxslt/keys.c 2019-06-12 08:38:40.214472000 -0400 >+@@ -629,6 +629,7 @@ xsltInitCtxtKey(xsltTransformContextPtr ctxt, xsltDocu >+ xmlNodePtr oldContextNode; >+ xsltDocumentPtr oldDocInfo; >+ int oldXPPos, oldXPSize; >++ xmlNodePtr oldXPNode; >+ xmlDocPtr oldXPDoc; >+ int oldXPNsNr; >+ xmlNsPtr *oldXPNamespaces; >+@@ -667,6 +668,7 @@ fprintf(stderr, "xsltInitCtxtKey %s : %d\n", keyDef->n >+ oldDocInfo = ctxt->document; >+ oldContextNode = ctxt->node; >+ >++ oldXPNode = xpctxt->node; >+ oldXPDoc = xpctxt->doc; >+ oldXPPos = xpctxt->proximityPosition; >+ oldXPSize = xpctxt->contextSize; >+@@ -865,6 +867,7 @@ error: >+ /* >+ * Restore context state. >+ */ >++ xpctxt->node = oldXPNode; >+ xpctxt->doc = oldXPDoc; >+ xpctxt->nsNr = oldXPNsNr; >+ xpctxt->namespaces = oldXPNamespaces;
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 238522
: 205006