[trunk] -> [testing] 'reiserfsprogs-3.6.27-3.1' add

master
artoo 10 months ago
parent cdb326c8d7
commit 3cd83e9f6f
  1. 2
      trunk/PKGBUILD
  2. 38
      x86_64/testing/PKGBUILD
  3. 16
      x86_64/testing/reiserfsprogs-3.6.27-loff_t.patch

@ -3,7 +3,7 @@
pkgname=reiserfsprogs
pkgver=3.6.27
pkgrel=3
pkgrel=3.1
pkgdesc="Reiserfs utilities"
arch=('x86_64')
url="https://www.kernel.org/"

@ -0,0 +1,38 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=reiserfsprogs
pkgver=3.6.27
pkgrel=3.1
pkgdesc="Reiserfs utilities"
arch=('x86_64')
url="https://www.kernel.org/"
license=('GPL')
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
}

@ -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
Loading…
Cancel
Save