Skip to content

Commit

Permalink
m4: update to 1.4.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
paper42 committed Sep 10, 2022
1 parent 13a338f commit 78a0c66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 181 deletions.
167 changes: 0 additions & 167 deletions srcpkgs/m4/patches/fix-glibc-2.27.patch

This file was deleted.

22 changes: 8 additions & 14 deletions srcpkgs/m4/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Template file for 'm4'
pkgname=m4
version=1.4.18
revision=2
version=1.4.19
revision=1
bootstrap=yes
replaces="chroot-m4>=0"
build_style=gnu-configure
configure_args="--enable-changeword --enable-threads"
short_desc="GNU version of UNIX m4 macro language processor"
homepage="https://www.gnu.org/software/m4/"
license="GPL-3.0-or-later"
maintainer="Enno Boland <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/m4/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
checksum=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
replaces="chroot-m4>=0"

if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
Expand All @@ -27,13 +27,7 @@ fi

pre_check() {
case "$XBPS_TARGET_MACHINE" in
*-musl* )
# Disable locale tests that fail on musl
sed -i '/test-localename$(EXEEXT)/d' tests/Makefile
sed -i '/test-mbrtowc5.sh/d' tests/Makefile

# Fails because test-localename doesn't work on musl
sed -i '/test-localeconv$(EXEEXT)/d' tests/Makefile
;;
# Disable tests that fail on musl
*-musl) sed -i '/test-getcwd.sh/d' tests/Makefile ;;
esac
}

0 comments on commit 78a0c66

Please sign in to comment.