Author: tkreuzer Date: Sat Apr 10 00:50:57 2010 New Revision: 46801
URL: http://svn.reactos.org/svn/reactos?rev=46801&view=rev Log: [LIBXSLT/MESA32] LD or GCC are broken and autoexported functions (__declspec(dllexport)) will lead to errors, when using -fno-leading-underscore, even if they are not used in the export. Because of this we need a nasty hack, defining dllexport to aligned(1), which does ... nothing. Also add a spec file for libxslt.
Added: branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.spec (with props) Modified: branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.rbuild branches/ros-amd64-bringup/reactos/dll/3rdparty/mesa32/mesa32.rbuild
Modified: branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.rbuild URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/3r... ============================================================================== --- branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.rbuild [iso-8859-1] Sat Apr 10 00:50:57 2010 @@ -1,6 +1,13 @@ <?xml version="1.0"?> <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd"> <module name="libxslt" type="win32dll" entrypoint="0" installbase="system32" installname="libxslt.dll" allowwarnings="true" crt="msvcrt"> + + <if property="ARCH" value="amd64"> + <!-- Gross hack to work around broken autoexport --> + <define name="dllexport">aligned(1)</define> + <importlibrary definition="libxslt.spec" /> + </if> + <define name="HAVE_CONFIG_H" /> <define name="WIN32" /> <define name="_WINDOWS" />
Added: branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.spec URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/3r... ============================================================================== --- branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.spec (added) +++ branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.spec [iso-8859-1] Sat Apr 10 00:50:57 2010 @@ -1,0 +1,238 @@ + + @ cdecl xslAddCall(ptr ptr) + @ cdecl xslDebugStatus() + @ cdecl xslDropCall() + @ cdecl xslHandleDebugger() + @ cdecl xsltAddKey() + @ cdecl xsltAddStackElemList() + @ cdecl xsltAddTemplate() + @ cdecl xsltAllocateExtra() + @ cdecl xsltAllocateExtraCtxt() + @ cdecl xsltApplyAttributeSet() + @ cdecl xsltApplyImports() + @ cdecl xsltApplyOneTemplate() + @ cdecl xsltApplyStripSpaces() + @ cdecl xsltApplyStylesheet() + @ cdecl xsltApplyStylesheetUser() + @ cdecl xsltApplyTemplates() + @ cdecl xsltAttrListTemplateProcess() + @ cdecl xsltAttrTemplateProcess() + @ cdecl xsltAttrTemplateValueProcess() + @ cdecl xsltAttrTemplateValueProcessNode() + @ cdecl xsltAttribute() + @ cdecl xsltCalibrateAdjust() + @ cdecl xsltCallTemplate() + @ cdecl xsltCheckExtPrefix() + @ cdecl xsltCheckExtURI() + @ cdecl xsltCheckRead() + @ cdecl xsltCheckWrite() + @ cdecl xsltChoose() + @ cdecl xsltCleanupGlobals() + @ cdecl xsltCleanupTemplates() + @ cdecl xsltComment() + @ cdecl xsltCompileAttr() + @ cdecl xsltCompilePattern() + @ cdecl xsltComputeSortResult() + @ cdecl xsltCopy() + @ cdecl xsltCopyNamespace() + @ cdecl xsltCopyNamespaceList() + @ cdecl xsltCopyOf() + @ cdecl xsltCopyTextString() + @ cdecl xsltCreateRVT() + @ cdecl xsltDebug() + @ cdecl xsltDebugDumpExtensions() + @ cdecl xsltDebugGetDefaultTrace() + @ cdecl xsltDebugSetDefaultTrace() + @ cdecl xsltDecimalFormatGetByName() + @ cdecl xsltDefaultSortFunction() + @ cdecl xsltDoSortFunction() + @ cdecl xsltDocDefaultLoader() + @ cdecl xsltDocumentComp() + @ cdecl xsltDocumentElem() + @ cdecl xsltDocumentFunction() + @ cdecl xsltDocumentSortFunction() + @ cdecl xsltElement() + @ cdecl xsltElementAvailableFunction() + @ cdecl xsltEngineVersion() + @ cdecl xsltEvalAVT() + @ cdecl xsltEvalAttrValueTemplate() + @ cdecl xsltEvalGlobalVariables() + @ cdecl xsltEvalOneUserParam() + @ cdecl xsltEvalStaticAttrValueTemplate() + @ cdecl xsltEvalTemplateString() + @ cdecl xsltEvalUserParams() + @ cdecl xsltEvalXPathPredicate() + @ cdecl xsltEvalXPathString() + @ cdecl xsltEvalXPathStringNs() + @ cdecl xsltExtElementLookup() + @ cdecl xsltExtModuleElementLookup() + @ cdecl xsltExtModuleElementPreComputeLookup() + @ cdecl xsltExtModuleFunctionLookup() + @ cdecl xsltExtModuleTopLevelLookup() + @ cdecl xsltExtensionInstructionResultFinalize() + @ cdecl xsltExtensionInstructionResultRegister() + @ cdecl xsltFindDocument() + @ cdecl xsltFindElemSpaceHandling() + @ cdecl xsltFindTemplate() + @ cdecl xsltForEach() + @ cdecl xsltFormatNumberConversion() + @ cdecl xsltFormatNumberFunction() + @ cdecl xsltFreeAVTList() + @ cdecl xsltFreeAttributeSetsHashes() + @ cdecl xsltFreeCompMatchList() + @ cdecl xsltFreeCtxtExts() + @ cdecl xsltFreeDocumentKeys() + @ cdecl xsltFreeDocuments() + @ cdecl xsltFreeExts() + @ cdecl xsltFreeGlobalVariables() + @ cdecl xsltFreeKeys() + @ cdecl xsltFreeNamespaceAliasHashes() + @ cdecl xsltFreeRVTs() + @ cdecl xsltFreeSecurityPrefs() + @ cdecl xsltFreeStackElemList() + @ cdecl xsltFreeStyleDocuments() + @ cdecl xsltFreeStylePreComps() + @ cdecl xsltFreeStylesheet() + @ cdecl xsltFreeTemplateHashes() + @ cdecl xsltFreeTransformContext() + @ cdecl xsltFunctionAvailableFunction() + @ cdecl xsltFunctionNodeSet() + @ cdecl xsltGenerateIdFunction() + @ cdecl xsltGenericDebug() + @ cdecl xsltGenericDebugContext() + @ cdecl xsltGenericError() + @ cdecl xsltGenericErrorContext() + @ cdecl xsltGetCNsProp() + @ cdecl xsltGetDebuggerStatus() + @ cdecl xsltGetDefaultSecurityPrefs() + @ cdecl xsltGetExtData() + @ cdecl xsltGetExtInfo() + @ cdecl xsltGetKey() + @ cdecl xsltGetNamespace() + @ cdecl xsltGetNsProp() + @ cdecl xsltGetPlainNamespace() + @ cdecl xsltGetProfileInformation() + @ cdecl xsltGetQNameURI() + @ cdecl xsltGetQNameURI2() + @ cdecl xsltGetSecurityPrefs() + @ cdecl xsltGetSpecialNamespace() + @ cdecl xsltGetTemplate() + @ cdecl xsltGetUTF8Char() + @ cdecl xsltGetXIncludeDefault() + @ cdecl xsltIf() + @ cdecl xsltInit() + @ cdecl xsltInitAllDocKeys() + @ cdecl xsltInitCtxtExts() + @ cdecl xsltInitCtxtKey() + @ cdecl xsltInitCtxtKeys() + @ cdecl xsltInitElemPreComp() + @ cdecl xsltInitGlobals() + @ cdecl xsltIsBlank() + @ cdecl xsltKeyFunction() + @ cdecl xsltLibxmlVersion() + @ cdecl xsltLibxsltVersion() + @ cdecl xsltLoadDocument() + @ cdecl xsltLoadStyleDocument() + @ cdecl xsltLoadStylesheetPI() + @ cdecl xsltLocalVariablePop() + @ cdecl xsltLocalVariablePush() + @ cdecl xsltMaxDepth() + @ cdecl xsltMessage() + @ cdecl xsltNamespaceAlias() + @ cdecl xsltNeedElemSpaceHandling() + @ cdecl xsltNewDocument() + @ cdecl xsltNewElemPreComp() + @ cdecl xsltNewSecurityPrefs() + @ cdecl xsltNewStyleDocument() + @ cdecl xsltNewStylesheet() + @ cdecl xsltNewTransformContext() + @ cdecl xsltNextImport() + @ cdecl xsltNormalizeCompSteps() + @ cdecl xsltNumber() + @ cdecl xsltNumberFormat() + @ cdecl xsltParseGlobalParam() + @ cdecl xsltParseGlobalVariable() + @ cdecl xsltParseStylesheetAttributeSet() + @ cdecl xsltParseStylesheetCallerParam() + @ cdecl xsltParseStylesheetDoc() + @ cdecl xsltParseStylesheetFile() + @ cdecl xsltParseStylesheetImport() + @ cdecl xsltParseStylesheetImportedDoc() + @ cdecl xsltParseStylesheetInclude() + @ cdecl xsltParseStylesheetOutput() + @ cdecl xsltParseStylesheetParam() + @ cdecl xsltParseStylesheetProcess() + @ cdecl xsltParseStylesheetVariable() + @ cdecl xsltParseTemplateContent() + @ cdecl xsltPreComputeExtModuleElement() + @ cdecl xsltPrintErrorContext() + @ cdecl xsltProcessOneNode() + @ cdecl xsltProcessingInstruction() + @ cdecl xsltProfileStylesheet() + @ cdecl xsltQuoteOneUserParam() + @ cdecl xsltQuoteUserParams() + @ cdecl xsltRegisterAllElement() + @ cdecl xsltRegisterAllExtras() + @ cdecl xsltRegisterAllFunctions() + @ cdecl xsltRegisterExtElement() + @ cdecl xsltRegisterExtFunction() + @ cdecl xsltRegisterExtModule() + @ cdecl xsltRegisterExtModuleElement() + @ cdecl xsltRegisterExtModuleFull() + @ cdecl xsltRegisterExtModuleFunction() + @ cdecl xsltRegisterExtModuleTopLevel() + @ cdecl xsltRegisterExtPrefix() + @ cdecl xsltRegisterExtras() + @ cdecl xsltRegisterLocalRVT() + @ cdecl xsltRegisterPersistRVT() + @ cdecl xsltRegisterTestModule() + @ cdecl xsltRegisterTmpRVT() + @ cdecl xsltReleaseRVT() + @ cdecl xsltResolveStylesheetAttributeSet() + @ cdecl xsltRunStylesheet() + @ cdecl xsltRunStylesheetUser() + @ cdecl xsltSaveProfiling() + @ cdecl xsltSaveResultTo() + @ cdecl xsltSaveResultToFd() + @ cdecl xsltSaveResultToFile() + @ cdecl xsltSaveResultToFilename() + @ cdecl xsltSaveResultToString() + @ cdecl xsltSecurityAllow() + @ cdecl xsltSecurityForbid() + @ cdecl xsltSetCtxtParseOptions() + @ cdecl xsltSetCtxtSecurityPrefs() + @ cdecl xsltSetCtxtSortFunc() + @ cdecl xsltSetDebuggerCallbacks() + @ cdecl xsltSetDebuggerStatus() + @ cdecl xsltSetDefaultSecurityPrefs() + @ cdecl xsltSetGenericDebugFunc() + @ cdecl xsltSetGenericErrorFunc() + @ cdecl xsltSetLoaderFunc() + @ cdecl xsltSetSecurityPrefs() + @ cdecl xsltSetSortFunc() + @ cdecl xsltSetTransformErrorFunc() + @ cdecl xsltSetXIncludeDefault() + @ cdecl xsltShutdownCtxtExts() + @ cdecl xsltShutdownExts() + @ cdecl xsltSort() + @ cdecl xsltSplitQName() + @ cdecl xsltStyleGetExtData() + @ cdecl xsltStylePreCompute() + @ cdecl xsltSystemPropertyFunction() + @ cdecl xsltTemplateProcess() + @ cdecl xsltTestCompMatchList() + @ cdecl xsltText() + @ cdecl xsltTimestamp() + @ cdecl xsltTransformError() + @ cdecl xsltUninit() + @ cdecl xsltUnparsedEntityURIFunction() + @ cdecl xsltUnregisterExtModule() + @ cdecl xsltUnregisterExtModuleElement() + @ cdecl xsltUnregisterExtModuleFunction() + @ cdecl xsltUnregisterExtModuleTopLevel() + @ cdecl xsltValueOf() + @ cdecl xsltVariableLookup() + @ cdecl xsltXPathCompile() + @ cdecl xsltXPathFunctionLookup() + @ cdecl xsltXPathGetTransformContext() + @ cdecl xsltXPathVariableLookup()
Propchange: branches/ros-amd64-bringup/reactos/dll/3rdparty/libxslt/libxslt.spec ------------------------------------------------------------------------------ svn:eol-style = native
Modified: branches/ros-amd64-bringup/reactos/dll/3rdparty/mesa32/mesa32.rbuild URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/3r... ============================================================================== --- branches/ros-amd64-bringup/reactos/dll/3rdparty/mesa32/mesa32.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/dll/3rdparty/mesa32/mesa32.rbuild [iso-8859-1] Sat Apr 10 00:50:57 2010 @@ -11,6 +11,10 @@ <define name="BUILD_GL32" /> <define name="WIN32" /> <define name="USE_EXTERNAL_DXTN_LIB=1" /> + <if property="ARCH" value="amd64"> + <!-- Gross hack to work around broken autoexport --> + <define name="dllexport">aligned(1)</define> + </if> <if property="ARCH" value="i386"> <define name="USE_X86_ASM" /> <define name="USE_MMX_ASM" />