[arch-commits] Commit in m4/trunk (PKGBUILD m4-1.4.16-readlink-einval.patch)
Allan McRae
allan at archlinux.org
Thu Nov 3 10:55:30 UTC 2011
Date: Thursday, November 3, 2011 @ 06:55:29
Author: allan
Revision: 141936
signing rebuild, patch testsuite failure with newer kernels
Added:
m4/trunk/m4-1.4.16-readlink-einval.patch
Modified:
m4/trunk/PKGBUILD
---------------------------------+
PKGBUILD | 10 +++++++---
m4-1.4.16-readlink-einval.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-11-03 10:53:42 UTC (rev 141935)
+++ PKGBUILD 2011-11-03 10:55:29 UTC (rev 141936)
@@ -4,7 +4,7 @@
pkgname=m4
pkgver=1.4.16
-pkgrel=1
+pkgrel=2
pkgdesc="The GNU macro processor"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/m4"
@@ -12,11 +12,15 @@
groups=('base-devel')
depends=('glibc' 'bash')
install=m4.install
-source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz)
-md5sums=('7548ec061a1ba993790159764f522d0e')
+source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig}
+ m4-1.4.16-readlink-einval.patch)
+md5sums=('7548ec061a1ba993790159764f522d0e'
+ 'eebe5c94e74e7551e2e30c5844f1b653'
+ 'cea138fa9b568d06e46269611cec8dd0')
build() {
cd ${srcdir}/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/m4-1.4.16-readlink-einval.patch
./configure --prefix=/usr
make
}
Added: m4-1.4.16-readlink-einval.patch
===================================================================
--- m4-1.4.16-readlink-einval.patch (rev 0)
+++ m4-1.4.16-readlink-einval.patch 2011-11-03 10:55:29 UTC (rev 141936)
@@ -0,0 +1,12 @@
+diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h
+--- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200
++++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200
+@@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con
+ ASSERT (errno == ENOENT);
+ errno = 0;
+ ASSERT (func ("", buf, sizeof buf) == -1);
+- ASSERT (errno == ENOENT);
++ ASSERT (errno == ENOENT || errno == EINVAL);
+ errno = 0;
+ ASSERT (func (".", buf, sizeof buf) == -1);
+ ASSERT (errno == EINVAL);
More information about the arch-commits
mailing list