mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 01:53:50 +02:00
gmime: correct ISO-10646 prefered name in musl
This commit is contained in:
parent
6d96e1c536
commit
8455ed10f0
2 changed files with 12 additions and 3 deletions
5
srcpkgs/gmime/files/musl-iconv-detect.h
Normal file
5
srcpkgs/gmime/files/musl-iconv-detect.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
/* This is an auto-generated header, DO NOT EDIT! */
|
||||
|
||||
#define ICONV_ISO_INT_FORMAT "iso-%u-%u"
|
||||
#define ICONV_ISO_STR_FORMAT "iso-%u-%s"
|
||||
#define ICONV_10646 "UCS-4BE"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gmime'
|
||||
pkgname=gmime
|
||||
version=2.6.23
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--disable-static --disable-mono --enable-smime
|
||||
|
@ -27,8 +27,12 @@ if [ "$CROSS_BUILD" ]; then
|
|||
fi
|
||||
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
cp ${FILESDIR}/*.h ${wrksrc}
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
:
|
||||
elif [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
cp ${FILESDIR}/musl-iconv-detect.h ${wrksrc}/iconv-detect.h
|
||||
else
|
||||
cp ${FILESDIR}/iconv-detect.h ${wrksrc}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue