1$NetBSD: patch-ah,v 1.3 2012/11/27 12:17:51 adam Exp $
2
3Fix syms file for stricter solaris ld
4
5--- libxslt-1.1.28/libxslt/libxslt.syms.orig 2012-11-27 12:04:43.000000000 +0000
6+++ libxslt-1.1.28/libxslt/libxslt.syms
7@@ -107,7 +107,7 @@ LIBXML2_1.0.11 {
8 xsltFreeCompMatchList;
9 xsltFreeTemplateHashes;
10 xsltGetTemplate;
11- xsltMatchPattern;
12+# xsltMatchPattern;
13 xsltTestCompMatchList;
14
15 # preproc
16@@ -407,7 +407,7 @@ LIBXML2_1.1.18 {
17 global:
18
19 # xsltInternals
20- xsltConstNamespaceNameXSLT; # variable
21+# xsltConstNamespaceNameXSLT; # variable
22 xsltExtensionInstructionResultFinalize;
23 xsltExtensionInstructionResultRegister;
24 xsltInitCtxtKey;
25@@ -416,24 +416,24 @@ LIBXML2_1.1.18 {
26 xsltInit;
27
28 # xsltInternals
29- xsltParseAnyXSLTElem;
30- xsltParseSequenceConstructor;
31- xsltPointerListAddSize;
32- xsltPointerListClear;
33- xsltPointerListCreate;
34- xsltPointerListFree;
35+# xsltParseAnyXSLTElem;
36+# xsltParseSequenceConstructor;
37+# xsltPointerListAddSize;
38+# xsltPointerListClear;
39+# xsltPointerListCreate;
40+# xsltPointerListFree;
41 xsltRegisterLocalRVT;
42 xsltReleaseRVT;
43- xsltRestoreDocumentNamespaces;
44+# xsltRestoreDocumentNamespaces;
45
46 # extensions
47- xsltStyleStylesheetLevelGetExtData;
48+# xsltStyleStylesheetLevelGetExtData;
49
50 # xsltInternals
51 # xsltTransStorageAdd; removed in 1.1.28
52 # xsltTransStorageRemove; removed in 1.1.28
53 xsltUninit;
54- xsltXSLTAttrMarker; # variable
55+# xsltXSLTAttrMarker; # variable
56 } LIBXML2_1.1.9;
57
58 LIBXML2_1.1.20 {
59@@ -476,6 +476,10 @@ LIBXML2_1.1.26 {
60
61 # transform
62 xsltProcessOneNode;
63+
64+# Solaris ld needs explicit auto-reduction (or, alternatively, "-B local")
65+ local:
66+ *;
67 } LIBXML2_1.1.25;
68
69 LIBXML2_1.1.27 {