* [PR PATCH] xerces-c: update to 3.2.5.
@ 2024-02-20 1:23 sgn
2024-02-20 14:48 ` [PR PATCH] [Merged]: " sgn
0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2024-02-20 1:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
There is a new pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages xerces-c-3.2.5
https://github.com/void-linux/void-packages/pull/48843
xerces-c: update to 3.2.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/48843.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xerces-c-3.2.5-48843.patch --]
[-- Type: text/x-diff, Size: 5008 bytes --]
From 005f5eae2f28e3b442cc25bf41610e53582a1159 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Sun, 18 Feb 2024 09:51:44 +0700
Subject: [PATCH] xerces-c: update to 3.2.5.
---
.../patches/fix-configure-cross.patch | 52 +++++++++++++++++--
srcpkgs/xerces-c/template | 6 +--
2 files changed, 51 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/xerces-c/patches/fix-configure-cross.patch b/srcpkgs/xerces-c/patches/fix-configure-cross.patch
index 7608d142f71e6..4a0b73c0eccda 100644
--- a/srcpkgs/xerces-c/patches/fix-configure-cross.patch
+++ b/srcpkgs/xerces-c/patches/fix-configure-cross.patch
@@ -3,9 +3,9 @@ make cross compiling possible again. The results are all
true for glibc and musl libc, thus unconditionally add
the corresponding defines via AC_DEFINE_UNQUOTED.
---- a/configure.ac 2017-08-06 20:09:44.000000000 +0200
-+++ b/configure.ac 2017-09-01 14:22:45.842676418 +0200
-@@ -174,69 +174,9 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -208,113 +208,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#in
]
)
@@ -48,6 +48,28 @@ the corresponding defines via AC_DEFINE_UNQUOTED.
- [
- AC_MSG_RESULT([no])
- AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 0, [Define to 1 if you have the `wcsrtombs' function.])
+- ],
+- [
+- AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
+- #include <string.h>]],
+- [[
+- mbstate_t st;
+- memset(&st, 0, sizeof(st));
+- char buffer[32];
+- const wchar_t* src=L"help";
+- wcsrtombs(buffer, &src, 32, &st);
+- if(src==0)
+- return 0;
+- else
+- return 1;]])],
+- [
+- AC_MSG_RESULT([yes])
+- AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 1, [Define to 1 if you have the `wcsrtombs' function.])
+- ],
+- [
+- AC_MSG_RESULT([no])
+- AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 0, [Define to 1 if you have the `wcsrtombs' function.])
+- ])
- ]
- )
-AC_MSG_CHECKING([for mbsrtowcs])
@@ -70,7 +92,29 @@ the corresponding defines via AC_DEFINE_UNQUOTED.
- [
- AC_MSG_RESULT([no])
- AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 0, [Define to 1 if you have the `mbsrtowcs' function.])
-- ]
+- ],
+- [
+- AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
+- #include <string.h>]],
+- [[
+- mbstate_t st;
+- memset(&st, 0, sizeof(st));
+- wchar_t buffer[32];
+- const char* src="help";
+- mbsrtowcs(buffer, &src, 32, &st);
+- if(src==0)
+- return 0;
+- else
+- return 1;]])],
+- [
+- AC_MSG_RESULT([yes])
+- AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 1, [Define to 1 if you have the `mbsrtowcs' function.])
+- ],
+- [
+- AC_MSG_RESULT([no])
+- AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 0, [Define to 1 if you have the `mbsrtowcs' function.])
+- ])
+- ]
- )
+AC_DEFINE_UNQUOTED([HAVE_MBRLEN], 1, [Define to 1 if you have the `mbrlen' function.])
+AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 1, [Define to 1 if you have the `wcsrtombs' function.])
diff --git a/srcpkgs/xerces-c/template b/srcpkgs/xerces-c/template
index 1ac8de6b568be..9da01274b50f9 100644
--- a/srcpkgs/xerces-c/template
+++ b/srcpkgs/xerces-c/template
@@ -1,7 +1,7 @@
# Template file for 'xerces-c'
pkgname=xerces-c
-version=3.2.3
-revision=8
+version=3.2.5
+revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libcurl-devel icu-devel"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://xerces.apache.org/xerces-c/"
distfiles="http://archive.apache.org/dist/xerces/c/3/sources/${pkgname}-${version}.tar.bz2"
-checksum=45c2329e684405f2b8854ecbddfb8d5b055cdf0fe4d35736cc352c504989bbb6
+checksum=1db4028c9b7f1f778efbf4a9462d65e13f9938f2c22f9e9994e12c49ba97e252
pre_configure() {
autoreconf -fi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: xerces-c: update to 3.2.5.
2024-02-20 1:23 [PR PATCH] xerces-c: update to 3.2.5 sgn
@ 2024-02-20 14:48 ` sgn
0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2024-02-20 14:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]
There's a merged pull request on the void-packages repository
xerces-c: update to 3.2.5.
https://github.com/void-linux/void-packages/pull/48843
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-20 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20 1:23 [PR PATCH] xerces-c: update to 3.2.5 sgn
2024-02-20 14:48 ` [PR PATCH] [Merged]: " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).