Kaydet (Commit) 7e5ed4b2 authored tarafından Michael Stahl's avatar Michael Stahl

solaris10u8: #i112480#: build libxslt with versioned symbols on solaris:

 libxslt-gnome602728.patch: remove (disables version script).
 libxslt-internal-symbols.patch: do not export non-existing symbols.
üst 917dac0a
--- misc/libxslt-1.1.26.orig/configure 2009-12-21 10:07:14.000000000 +0000
+++ misc/build/libxslt-1.1.26/configure 2009-12-21 10:07:42.000000000 +0000
@@ -13402,7 +13402,7 @@
$(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
test "`uname`" == "SunOS" && \
- VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
+ VERSION_SCRIPT_FLAGS=""
if test -n "$VERSION_SCRIPT_FLAGS"; then
USE_VERSION_SCRIPT_TRUE=
--- misc/libxslt-1.1.26/libxslt/libxslt.syms Thu Sep 24 16:28:46 2009
+++ misc/build/libxslt-1.1.26/libxslt/libxslt.syms Thu Jul 8 12:22:14 2010
@@ -107,7 +107,7 @@
xsltFreeCompMatchList;
xsltFreeTemplateHashes;
xsltGetTemplate;
- xsltMatchPattern;
+#NOT_IMPLEMENTED xsltMatchPattern;
xsltTestCompMatchList;
# preproc
@@ -406,7 +406,7 @@
global:
# xsltInternals
- xsltConstNamespaceNameXSLT; # variable
+#XSLT_REFACTORED_XSLT_NSCOMP xsltConstNamespaceNameXSLT; # variable
xsltExtensionInstructionResultFinalize;
xsltExtensionInstructionResultRegister;
xsltInitCtxtKey;
@@ -415,24 +415,24 @@
xsltInit;
# xsltInternals
- xsltParseAnyXSLTElem;
- xsltParseSequenceConstructor;
- xsltPointerListAddSize;
- xsltPointerListClear;
- xsltPointerListCreate;
- xsltPointerListFree;
+#XSLT_REFACTORED xsltParseAnyXSLTElem;
+#XSLT_REFACTORED xsltParseSequenceConstructor;
+#XSLT_REFACTORED xsltPointerListAddSize;
+#XSLT_REFACTORED xsltPointerListClear;
+#XSLT_REFACTORED xsltPointerListCreate;
+#XSLT_REFACTORED xsltPointerListFree;
xsltRegisterLocalRVT;
xsltReleaseRVT;
- xsltRestoreDocumentNamespaces;
+#XSLT_REFACTORED_XSLT_NSCOMP xsltRestoreDocumentNamespaces;
# extensions
- xsltStyleStylesheetLevelGetExtData;
+#XSLT_REFACTORED xsltStyleStylesheetLevelGetExtData;
# xsltInternals
- xsltTransStorageAdd;
- xsltTransStorageRemove;
+#NOT_IMPLEMENTED xsltTransStorageAdd;
+#NOT_IMPLEMENTED xsltTransStorageRemove;
xsltUninit;
- xsltXSLTAttrMarker; # variable
+#XSLT_REFACTORED xsltXSLTAttrMarker; # variable
} LIBXML2_1.1.9;
LIBXML2_1.1.20 {
@@ -475,5 +475,9 @@
# transform
xsltProcessOneNode;
+
+# Solaris ld needs explicit auto-reduction (or, alternatively, "-B local")
+ local:
+ *;
} LIBXML2_1.1.25;
......@@ -50,9 +50,12 @@ LIBXSLTVERSION=$(LIBXSLT_MAJOR).$(LIBXSLT_MINOR).$(LIBXSLT_MICRO)
TARFILE_NAME=$(PRJNAME)-$(LIBXSLTVERSION)
TARFILE_MD5=e61d0364a30146aaa3001296f853b2b9
# libxslt-internal-symbols: #i112480#: Solaris ld requires symbols to be defined
PATCH_FILES=libxslt-configure.patch \
libxslt-win_manifest.patch \
libxslt-gnome602728.patch
libxslt-internal-symbols.patch \
# This is only for UNX environment now
.IF "$(OS)"=="WNT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment