$NetBSD: patch-ah,v 1.2 2012/09/15 10:26:02 adam Exp $

Fix syms file for stricter solaris ld

--- libxslt/libxslt_solaris.syms.orig	2012-09-15 09:51:49.000000000 +0000
+++ libxslt/libxslt_solaris.syms
@@ -107,7 +107,7 @@ LIBXML2_1.0.11 {
   xsltFreeCompMatchList;
   xsltFreeTemplateHashes;
   xsltGetTemplate;
-  xsltMatchPattern;
+#  xsltMatchPattern;
   xsltTestCompMatchList;
 
 # preproc
@@ -407,7 +407,7 @@ LIBXML2_1.1.18 {
     global:
 
 # xsltInternals
-  xsltConstNamespaceNameXSLT; # variable
+#  xsltConstNamespaceNameXSLT; # variable
   xsltExtensionInstructionResultFinalize;
   xsltExtensionInstructionResultRegister;
   xsltInitCtxtKey;
@@ -416,24 +416,24 @@ LIBXML2_1.1.18 {
   xsltInit;
 
 # xsltInternals
-  xsltParseAnyXSLTElem;
-  xsltParseSequenceConstructor;
-  xsltPointerListAddSize;
-  xsltPointerListClear;
-  xsltPointerListCreate;
-  xsltPointerListFree;
+#  xsltParseAnyXSLTElem;
+#  xsltParseSequenceConstructor;
+#  xsltPointerListAddSize;
+#  xsltPointerListClear;
+#  xsltPointerListCreate;
+#  xsltPointerListFree;
   xsltRegisterLocalRVT;
   xsltReleaseRVT;
-  xsltRestoreDocumentNamespaces;
+#  xsltRestoreDocumentNamespaces;
 
 # extensions
-  xsltStyleStylesheetLevelGetExtData;
+#  xsltStyleStylesheetLevelGetExtData;
 
 # xsltInternals
-  xsltTransStorageAdd;
-  xsltTransStorageRemove;
+#  xsltTransStorageAdd;
+#  xsltTransStorageRemove;
   xsltUninit;
-  xsltXSLTAttrMarker; # variable
+#  xsltXSLTAttrMarker; # variable
 } LIBXML2_1.1.9;
 
 LIBXML2_1.1.20 {
@@ -476,6 +476,10 @@ LIBXML2_1.1.26 {
 
 # transform
   xsltProcessOneNode;
+
+# Solaris ld needs explicit auto-reduction (or, alternatively, "-B local")
+    local:
+  *;
 } LIBXML2_1.1.25;
 
 LIBXML2_1.1.27 {
