diff options
-rw-r--r-- | sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.27-loff_t.patch | 16 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild | 3 |
2 files changed, 18 insertions, 1 deletions
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 000000000000..9ab8519e77f6 --- /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 c1feff860a29..04b0f4bf7daf 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() { |