mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
xerces-c: update to 3.2.5.
This commit is contained in:
parent
cfa65d99bb
commit
6e1535908d
2 changed files with 51 additions and 7 deletions
|
@ -3,9 +3,9 @@ make cross compiling possible again. The results are all
|
||||||
true for glibc and musl libc, thus unconditionally add
|
true for glibc and musl libc, thus unconditionally add
|
||||||
the corresponding defines via AC_DEFINE_UNQUOTED.
|
the corresponding defines via AC_DEFINE_UNQUOTED.
|
||||||
|
|
||||||
--- a/configure.ac 2017-08-06 20:09:44.000000000 +0200
|
--- a/configure.ac
|
||||||
+++ b/configure.ac 2017-09-01 14:22:45.842676418 +0200
|
+++ b/configure.ac
|
||||||
@@ -174,69 +174,9 @@
|
@@ -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_MSG_RESULT([no])
|
||||||
- AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 0, [Define to 1 if you have the `wcsrtombs' function.])
|
- 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])
|
-AC_MSG_CHECKING([for mbsrtowcs])
|
||||||
|
@ -70,6 +92,28 @@ the corresponding defines via AC_DEFINE_UNQUOTED.
|
||||||
- [
|
- [
|
||||||
- AC_MSG_RESULT([no])
|
- AC_MSG_RESULT([no])
|
||||||
- AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 0, [Define to 1 if you have the `mbsrtowcs' function.])
|
- 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_MBRLEN], 1, [Define to 1 if you have the `mbrlen' function.])
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xerces-c'
|
# Template file for 'xerces-c'
|
||||||
pkgname=xerces-c
|
pkgname=xerces-c
|
||||||
version=3.2.3
|
version=3.2.5
|
||||||
revision=8
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libcurl-devel icu-devel"
|
makedepends="libcurl-devel icu-devel"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://xerces.apache.org/xerces-c/"
|
homepage="http://xerces.apache.org/xerces-c/"
|
||||||
distfiles="http://archive.apache.org/dist/xerces/c/3/sources/${pkgname}-${version}.tar.bz2"
|
distfiles="http://archive.apache.org/dist/xerces/c/3/sources/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=45c2329e684405f2b8854ecbddfb8d5b055cdf0fe4d35736cc352c504989bbb6
|
checksum=1db4028c9b7f1f778efbf4a9462d65e13f9938f2c22f9e9994e12c49ba97e252
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue