Commit 4fe58eca authored by Natanael Copa's avatar Natanael Copa

main/m4: upgrade to 1.4.14

parent fecb3a7d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=m4
pkgver=1.4.13
pkgver=1.4.14
pkgrel=0
pkgdesc="GNU macro processor"
url="http://www.gnu.org/software/m4"
source=ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz
depends=
license="GPL"
subpackages="m4-doc"
source="ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz
gnulib-uclibc.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/gnulib-uclibc.patch
}
build() {
cd "$_builddir"
./configure --prefix=/usr
......@@ -21,4 +27,5 @@ package() {
make install DESTDIR="$pkgdir"
}
md5sums="e9e36108b5f9855a82ca4a07ebc0fd2e m4-1.4.13.tar.gz"
md5sums="f0542d58f94c7d0ce0d01224e447be66 m4-1.4.14.tar.gz
20a7dedec0e9e0ee7107e33e798ffdbe gnulib-uclibc.patch"
diff --git a/lib/spawn.in.h b/lib/spawn.in.h
index 84ba93c..6df4599 100644
--- a/lib/spawn.in.h
+++ b/lib/spawn.in.h
@@ -31,7 +31,7 @@
/* Get definitions of 'struct sched_param' and 'sigset_t'.
But avoid namespace pollution on glibc systems. */
-#ifndef __GLIBC__
+#if !defined(__GLIBC__) || defined(__UCLIBC__)
# include <sched.h>
# include <signal.h>
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment