expat: update to 2.5.0

This commit is contained in:
Tom G. Christensen 2023-01-15 13:13:48 +01:00
parent d564fe47cf
commit d84ef928f2
3 changed files with 14 additions and 10 deletions

View File

@ -6,12 +6,12 @@
########################################################### ###########################################################
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=expat topdir=expat
version=2.4.8 version=2.5.0
pkgver=1 pkgver=1
source[0]=https://github.com/libexpat/libexpat/releases/download/R_2_4_8/${topdir}-${version}.tar.lz source[0]=https://github.com/libexpat/libexpat/releases/download/R_2_5_0/${topdir}-${version}.tar.lz
# If there are no patches, simply comment this # If there are no patches, simply comment this
patch[0]=expat-2.4.8-no-stdint_h.patch patch[0]=expat-2.4.8-no-stdint_h.patch
patch[1]=expat-2.4.8-no-strtof.patch patch[1]=expat-2.5.0-no-strtof.patch
# Source function library # Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions . ${BUILDPKG_SCRIPTS}/buildpkg.functions
@ -48,6 +48,7 @@ install()
compat expat 2.1.0 1 1 compat expat 2.1.0 1 1
compat expat 2.2.5 1 1 compat expat 2.2.5 1 1
compat expat 2.2.9 1 1 compat expat 2.2.9 1 1
compat expat 2.4.8 1 1
} }
reg pack reg pack

View File

@ -1,5 +1,8 @@
CHANGELOG CHANGELOG
--------- ---------
* Sun Jan 15 2023 Tom G. Christensen <swpkg@jupiterrise.com> - 2.5.0-1
- Update to 2.5.0
* Sun Apr 10 2022 Tom G. Christensen <swpkg@jupiterrise.com> - 2.4.8-1 * Sun Apr 10 2022 Tom G. Christensen <swpkg@jupiterrise.com> - 2.4.8-1
- Update to 2.4.8 - Update to 2.4.8

View File

@ -1,5 +1,5 @@
--- expat-2.4.8/xmlwf/xmltchar.h.strtof 2022-03-28 16:51:41.000000000 +0000 --- expat-2.5.0/xmlwf/xmltchar.h.strtof 2022-10-24 18:32:57.000000000 +0000
+++ expat-2.4.8/xmlwf/xmltchar.h 2022-04-10 15:29:32.600005000 +0000 +++ expat-2.5.0/xmlwf/xmltchar.h 2023-01-15 13:10:45.819376000 +0000
@@ -74,6 +74,6 @@ @@ -74,6 +74,6 @@
# define tmain main # define tmain main
# define tremove remove # define tremove remove
@ -8,18 +8,18 @@
+# define tcstof strtod +# define tcstof strtod
# define tcstoull strtoull # define tcstoull strtoull
#endif /* not XML_UNICODE */ #endif /* not XML_UNICODE */
--- expat-2.4.8/tests/runtests.c.strtof 2022-04-10 15:26:11.240002000 +0000 --- expat-2.5.0/tests/runtests.c.strtof 2023-01-15 13:09:44.309378000 +0000
+++ expat-2.4.8/tests/runtests.c 2022-04-10 15:30:05.040002000 +0000 +++ expat-2.5.0/tests/runtests.c 2023-01-15 13:10:18.989378000 +0000
@@ -11765,12 +11765,12 @@ @@ -12002,12 +12002,12 @@
static float static float
portableNAN() { portableNAN(void) {
- return strtof("nan", NULL); - return strtof("nan", NULL);
+ return strtod("nan", NULL); + return strtod("nan", NULL);
} }
static float static float
portableINFINITY() { portableINFINITY(void) {
- return strtof("infinity", NULL); - return strtof("infinity", NULL);
+ return strtod("infinity", NULL); + return strtod("infinity", NULL);
} }