1 |
commit: 6f19fe4830c4805d55596124f4f41a1a18fadc7f |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 13 17:25:07 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 13 17:50:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f19fe48 |
7 |
|
8 |
sys-fs/reiserfsprogs: fix build failure against glibc-2.28, bug #663930 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/663930 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
.../files/reiserfsprogs-3.6.27-loff_t.patch | 16 ++++++++++++++++ |
15 |
sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild | 3 ++- |
16 |
2 files changed, 18 insertions(+), 1 deletion(-) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..9ab8519e77f |
21 |
--- /dev/null |
22 |
+++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.27-loff_t.patch |
23 |
@@ -0,0 +1,16 @@ |
24 |
+glibc-2.28 did hide loff_t indef system-specific macros: |
25 |
+ https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=663e7d784977f6b15c0cab73f754f9f39c9c0c2c |
26 |
+ |
27 |
+This caused build failure: |
28 |
+ ../include/reiserfs_lib.h:300:55: error: unknown type name 'loff_t'; did you mean 'off_t'? |
29 |
+ |
30 |
+Re-enable extensions to pull loff_t back. |
31 |
+ |
32 |
+https://bugs.gentoo.org/663930 |
33 |
+--- a/configure.ac |
34 |
++++ b/configure.ac |
35 |
+@@ -23,2 +23,4 @@ AC_PROG_MAKE_SET |
36 |
+ AC_PROG_LIBTOOL |
37 |
++dnl pull in loff_t from glibc |
38 |
++AC_USE_SYSTEM_EXTENSIONS |
39 |
+ |
40 |
|
41 |
diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild |
42 |
index c1feff860a2..04b0f4bf7da 100644 |
43 |
--- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild |
44 |
+++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild |
45 |
@@ -1,4 +1,4 @@ |
46 |
-# Copyright 1999-2017 Gentoo Foundation |
47 |
+# Copyright 1999-2018 Gentoo Authors |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
|
50 |
EAPI=6 |
51 |
@@ -17,6 +17,7 @@ IUSE="static-libs" |
52 |
|
53 |
PATCHES=( |
54 |
"${FILESDIR}/${PN}-3.6.25-no_acl.patch" |
55 |
+ "${FILESDIR}/${PN}-3.6.27-loff_t.patch" |
56 |
) |
57 |
|
58 |
src_prepare() { |