[arch-commits] Commit in reiserfsprogs/trunk (2 files)

Allan McRae allan at archlinux.org
Sun Nov 4 06:20:57 UTC 2018


    Date: Sunday, November 4, 2018 @ 06:20:57
  Author: allan
Revision: 337807

upgpkg: reiserfsprogs 3.6.27-2

fix FTBFS

Added:
  reiserfsprogs/trunk/reiserfsprogs-3.6.27-loff_t.patch
Modified:
  reiserfsprogs/trunk/PKGBUILD

-----------------------------------+
 PKGBUILD                          |   14 +++++++++++---
 reiserfsprogs-3.6.27-loff_t.patch |   16 ++++++++++++++++
 2 files changed, 27 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 05:57:46 UTC (rev 337806)
+++ PKGBUILD	2018-11-04 06:20:57 UTC (rev 337807)
@@ -3,7 +3,7 @@
 
 pkgname=reiserfsprogs
 pkgver=3.6.27
-pkgrel=1
+pkgrel=2
 pkgdesc="Reiserfs utilities"
 arch=('x86_64')
 url="http://www.kernel.org/"
@@ -10,9 +10,17 @@
 license=('GPL')
 groups=('base')
 depends=('util-linux')
-source=("https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('90c139542725efc6da3a6b1709695395')
+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'

Added: reiserfsprogs-3.6.27-loff_t.patch
===================================================================
--- reiserfsprogs-3.6.27-loff_t.patch	                        (rev 0)
+++ reiserfsprogs-3.6.27-loff_t.patch	2018-11-04 06:20:57 UTC (rev 337807)
@@ -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