[arch-commits] Commit in m4/trunk (PKGBUILD m4-1.4.14-stat_h.patch)
Allan McRae
allan at archlinux.org
Sun Jun 20 03:50:42 UTC 2010
Date: Saturday, June 19, 2010 @ 23:50:42
Author: allan
Revision: 82971
upgpkg: m4 1.4.14-2
add build patch for missing header
Added:
m4/trunk/m4-1.4.14-stat_h.patch
Modified:
m4/trunk/PKGBUILD
------------------------+
PKGBUILD | 23 +++++++++++++++--------
m4-1.4.14-stat_h.patch | 11 +++++++++++
2 files changed, 26 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-06-20 01:48:41 UTC (rev 82970)
+++ PKGBUILD 2010-06-20 03:50:42 UTC (rev 82971)
@@ -4,20 +4,27 @@
pkgname=m4
pkgver=1.4.14
-pkgrel=1
-pkgdesc="m4 macro processor"
+pkgrel=2
+pkgdesc="The GNU macro processor"
arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/m4"
license=('GPL3')
-url="http://www.gnu.org/software/m4"
-install=m4.install
groups=('base-devel')
depends=('glibc' 'bash')
-source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz)
-md5sums=('e2b871099546846d1df586f195f79b53')
+install=m4.install
+source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz
+ m4-1.4.14-stat_h.patch)
+md5sums=('e2b871099546846d1df586f195f79b53'
+ 'ccb7b698bdade1ae38c17f8e9d7cd3bc')
build() {
cd ${srcdir}/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/m4-1.4.14-stat_h.patch
./configure --prefix=/usr
- make || return 1
- make prefix=${pkgdir}/usr install || return 1
+ make
}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make prefix=${pkgdir}/usr install
+}
Added: m4-1.4.14-stat_h.patch
===================================================================
--- m4-1.4.14-stat_h.patch (rev 0)
+++ m4-1.4.14-stat_h.patch 2010-06-20 03:50:42 UTC (rev 82971)
@@ -0,0 +1,11 @@
+diff -Naur a/src/m4.h b/src/m4.h
+--- a/src/m4.h 2010-06-16 15:09:25.926731245 +0000
++++ b/src/m4.h 2010-06-16 15:20:05.120422787 +0000
+@@ -33,6 +33,7 @@
+ #include <stdint.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+
+ #include "binary-io.h"
+ #include "clean-temp.h"
More information about the arch-commits
mailing list