This commit is contained in:
parent
c2c869b8fc
commit
3a7707123a
@ -1,27 +0,0 @@
|
||||
--- libxslt/pattern.c
|
||||
+++ libxslt/pattern.c
|
||||
@@ -2076,6 +2076,8 @@
|
||||
priority = cur->priority;
|
||||
pat = xsltCompilePatternInternal(cur->match, style->doc, cur->elem,
|
||||
style, NULL, 1);
|
||||
+ if (pat == NULL)
|
||||
+ return(-1);
|
||||
while (pat) {
|
||||
next = pat->next;
|
||||
pat->next = NULL;
|
||||
--- libxslt/xsltutils.c
|
||||
+++ libxslt/xsltutils.c
|
||||
@@ -2102,9 +2102,13 @@
|
||||
#else
|
||||
xpathCtxt = xmlXPathNewContext(style->doc);
|
||||
#endif
|
||||
+ if (xpathCtxt == NULL)
|
||||
+ return NULL;
|
||||
xpathCtxt->dict = style->dict;
|
||||
} else {
|
||||
xpathCtxt = xmlXPathNewContext(NULL);
|
||||
+ if (xpathCtxt == NULL)
|
||||
+ return NULL;
|
||||
}
|
||||
/*
|
||||
* Compile the expression.
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41cce07943a788da8616d01407c1adb9d1482770f5912c711964ddd31b428cbf
|
||||
size 2341454
|
3
libxslt-1.1.22.tar.bz2
Normal file
3
libxslt-1.1.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0bf35d48d1a744482309b0d5190f15967684b935195fe3f06f29878be838c91
|
||||
size 1959074
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 16:21:03 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 1.1.22:
|
||||
* Bug fixes: RVT cleanup problems, exclude-result-prefix bug,
|
||||
stylesheet compilation error handling, out of memory allocation
|
||||
errors, namespace problem on compound predicates, python
|
||||
space/tab inconsistencies, hook xsl:message to per
|
||||
transformation error callbacks, cached RVT problem, XPath
|
||||
context maintainance on choose, memory leaks in the math
|
||||
module, exclude-result-prefix induced namespace problem
|
||||
* Portability fixes: improve build with VS2005, fixing build on
|
||||
AIX, fix the security file checks on Windows.
|
||||
* Improvement: add an --encoding option to xsltproc.
|
||||
* Build: configure setup for TRIO_REPLACE_STDIO
|
||||
* Documentation: updated after change from CVs to SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 20 15:57:47 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libxslt-python (Version 1.1.20)
|
||||
# spec file for package libxslt-python (Version 1.1.22)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -13,18 +13,18 @@
|
||||
Name: libxslt-python
|
||||
BuildRequires: libxml2-python libxslt-devel python-devel
|
||||
Summary: Python Bindings for libxslt
|
||||
Version: 1.1.20
|
||||
Release: 48
|
||||
Version: 1.1.22
|
||||
Release: 1
|
||||
License: X11/MIT
|
||||
Group: Development/Libraries/Python
|
||||
Source: libxslt-%{version}.tar.bz2
|
||||
# Uncomment to save space:
|
||||
#NoSource: 0
|
||||
Patch0: libxslt-%{version}-linkflags.patch
|
||||
Patch0: libxslt-1.1.20-linkflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
Requires: libxml2 >= 2.6.27
|
||||
URL: http://xmlsoft.org/XSLT/
|
||||
Url: http://xmlsoft.org/XSLT/
|
||||
|
||||
%description
|
||||
The libxslt-python package contains a module that permits applications
|
||||
@ -83,8 +83,21 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc python/tests/*.py
|
||||
%doc python/tests/*.xml
|
||||
%doc python/tests/*.xsl
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2007 - sbrabec@suse.cz
|
||||
- Updated to version 1.1.22:
|
||||
* Bug fixes: RVT cleanup problems, exclude-result-prefix bug,
|
||||
stylesheet compilation error handling, out of memory allocation
|
||||
errors, namespace problem on compound predicates, python
|
||||
space/tab inconsistencies, hook xsl:message to per
|
||||
transformation error callbacks, cached RVT problem, XPath
|
||||
context maintainance on choose, memory leaks in the math
|
||||
module, exclude-result-prefix induced namespace problem
|
||||
* Portability fixes: improve build with VS2005, fixing build on
|
||||
AIX, fix the security file checks on Windows.
|
||||
* Improvement: add an --encoding option to xsltproc.
|
||||
* Build: configure setup for TRIO_REPLACE_STDIO
|
||||
* Documentation: updated after change from CVs to SVN
|
||||
* Mon Aug 20 2007 - sbrabec@suse.cz
|
||||
- Commented out NoSource to provide comfortable rebuild.
|
||||
* Thu Jan 25 2007 - prusnak@suse.cz
|
||||
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 16:21:03 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 1.1.22:
|
||||
* Bug fixes: RVT cleanup problems, exclude-result-prefix bug,
|
||||
stylesheet compilation error handling, out of memory allocation
|
||||
errors, namespace problem on compound predicates, python
|
||||
space/tab inconsistencies, hook xsl:message to per
|
||||
transformation error callbacks, cached RVT problem, XPath
|
||||
context maintainance on choose, memory leaks in the math
|
||||
module, exclude-result-prefix induced namespace problem
|
||||
* Portability fixes: improve build with VS2005, fixing build on
|
||||
AIX, fix the security file checks on Windows.
|
||||
* Improvement: add an --encoding option to xsltproc.
|
||||
* Build: configure setup for TRIO_REPLACE_STDIO
|
||||
* Documentation: updated after change from CVs to SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 14:15:40 CET 2007 - prusnak@suse.cz
|
||||
|
||||
|
27
libxslt.spec
27
libxslt.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libxslt (Version 1.1.20)
|
||||
# spec file for package libxslt (Version 1.1.22)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -13,16 +13,15 @@
|
||||
Name: libxslt
|
||||
BuildRequires: libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libxml2-devel
|
||||
Summary: XSL Transformation Library
|
||||
Version: 1.1.20
|
||||
Release: 33
|
||||
Version: 1.1.22
|
||||
Release: 1
|
||||
License: X11/MIT
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: %{name}-%{version}-no-net-autobuild.patch
|
||||
Patch1: %{name}-%{version}-null-retval.patch
|
||||
Patch0: %{name}-1.1.20-no-net-autobuild.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: libxml2 >= 2.6.27
|
||||
URL: http://xmlsoft.org/XSLT/
|
||||
Url: http://xmlsoft.org/XSLT/
|
||||
|
||||
%description
|
||||
This C library allows you to transform XML files into other XML files
|
||||
@ -62,7 +61,6 @@ to develop applications that require these.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
|
||||
%build
|
||||
autoreconf --force --install
|
||||
@ -108,8 +106,21 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
# not available doc/*.png
|
||||
%doc doc/*.html doc/html doc/tutorial doc/*.gif
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2007 - sbrabec@suse.cz
|
||||
- Updated to version 1.1.22:
|
||||
* Bug fixes: RVT cleanup problems, exclude-result-prefix bug,
|
||||
stylesheet compilation error handling, out of memory allocation
|
||||
errors, namespace problem on compound predicates, python
|
||||
space/tab inconsistencies, hook xsl:message to per
|
||||
transformation error callbacks, cached RVT problem, XPath
|
||||
context maintainance on choose, memory leaks in the math
|
||||
module, exclude-result-prefix induced namespace problem
|
||||
* Portability fixes: improve build with VS2005, fixing build on
|
||||
AIX, fix the security file checks on Windows.
|
||||
* Improvement: add an --encoding option to xsltproc.
|
||||
* Build: configure setup for TRIO_REPLACE_STDIO
|
||||
* Documentation: updated after change from CVs to SVN
|
||||
* Thu Jan 25 2007 - prusnak@suse.cz
|
||||
- update to 1.1.20
|
||||
* result Value Tree handling fix
|
||||
|
Loading…
Reference in New Issue
Block a user