commit: 6f19fe4830c4805d55596124f4f41a1a18fadc7f Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Oct 13 17:25:07 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Oct 13 17:50:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f19fe48
sys-fs/reiserfsprogs: fix build failure against glibc-2.28, bug #663930 Closes: https://bugs.gentoo.org/663930 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../files/reiserfsprogs-3.6.27-loff_t.patch | 16 ++++++++++++++++ sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.27-loff_t.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.27-loff_t.patch new file mode 100644 index 00000000000..9ab8519e77f --- /dev/null +++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.27-loff_t.patch @@ -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 + diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild index c1feff860a2..04b0f4bf7da 100644 --- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild +++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,6 +17,7 @@ IUSE="static-libs" PATCHES=( "${FILESDIR}/${PN}-3.6.25-no_acl.patch" + "${FILESDIR}/${PN}-3.6.27-loff_t.patch" ) src_prepare() {
