diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-10-13 18:25:07 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-10-13 18:50:39 +0100 |
commit | 6f19fe4830c4805d55596124f4f41a1a18fadc7f (patch) | |
tree | d4cb93b13ce9a83c932f2568753ffdce40139884 /sys-fs/reiserfsprogs | |
parent | sys-devel/m4: fix build against glibc-2.28, bug #663924 (diff) | |
download | gentoo-6f19fe4830c4805d55596124f4f41a1a18fadc7f.tar.gz gentoo-6f19fe4830c4805d55596124f4f41a1a18fadc7f.tar.bz2 gentoo-6f19fe4830c4805d55596124f4f41a1a18fadc7f.zip |
sys-fs/reiserfsprogs: fix build failure against glibc-2.28, bug #663930
Closes: https://bugs.gentoo.org/663930
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-fs/reiserfsprogs')
-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() { |