[arch-commits] Commit in reiserfsprogs/repos (3 files)
Allan McRae
allan at archlinux.org
Sun Nov 4 06:21:48 UTC 2018
Date: Sunday, November 4, 2018 @ 06:21:47
Author: allan
Revision: 337808
archrelease: copy trunk to testing-x86_64
Added:
reiserfsprogs/repos/testing-x86_64/
reiserfsprogs/repos/testing-x86_64/PKGBUILD
(from rev 337807, reiserfsprogs/trunk/PKGBUILD)
reiserfsprogs/repos/testing-x86_64/reiserfsprogs-3.6.27-loff_t.patch
(from rev 337807, reiserfsprogs/trunk/reiserfsprogs-3.6.27-loff_t.patch)
-----------------------------------+
PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
reiserfsprogs-3.6.27-loff_t.patch | 16 ++++++++++++++
2 files changed, 55 insertions(+)
Copied: reiserfsprogs/repos/testing-x86_64/PKGBUILD (from rev 337807, reiserfsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-04 06:21:47 UTC (rev 337808)
@@ -0,0 +1,39 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=reiserfsprogs
+pkgver=3.6.27
+pkgrel=2
+pkgdesc="Reiserfs utilities"
+arch=('x86_64')
+url="http://www.kernel.org/"
+license=('GPL')
+groups=('base')
+depends=('util-linux')
+source=("https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
+ reiserfsprogs-3.6.27-loff_t.patch)
+md5sums=('90c139542725efc6da3a6b1709695395'
+ '77dd321df96be58a1fd636f25b1e3544')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i $srcdir/reiserfsprogs-3.6.27-loff_t.patch
+ autoreconf -i
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ CFLAGS+=' -fgnu89-inline'
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: reiserfsprogs/repos/testing-x86_64/reiserfsprogs-3.6.27-loff_t.patch (from rev 337807, reiserfsprogs/trunk/reiserfsprogs-3.6.27-loff_t.patch)
===================================================================
--- testing-x86_64/reiserfsprogs-3.6.27-loff_t.patch (rev 0)
+++ testing-x86_64/reiserfsprogs-3.6.27-loff_t.patch 2018-11-04 06:21:47 UTC (rev 337808)
@@ -0,0 +1,16 @@
+glibc-2.28 did hide loff_t indef system-specific macros:
+ https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=663e7d784977f6b15c0cab73f754f9f39c9c0c2c
+
+This caused build failure:
+ ../include/reiserfs_lib.h:300:55: error: unknown type name 'loff_t'; did you mean 'off_t'?
+
+Re-enable extensions to pull loff_t back.
+
+https://bugs.gentoo.org/663930
+--- a/configure.ac
++++ b/configure.ac
+@@ -23,2 +23,4 @@ AC_PROG_MAKE_SET
+ AC_PROG_LIBTOOL
++dnl pull in loff_t from glibc
++AC_USE_SYSTEM_EXTENSIONS
+
More information about the arch-commits
mailing list