Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 428632 Details for
Bug 577810
app-emulation/qemu[xfs]: Build failure using sys-kernel/linux-headers-4.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
configure: Check if struct fsxattr is available from linux headers
0001-configure-Check-if-struct-fsxattr-is-available-from-.patch (text/plain), 1.30 KB, created by
Jan Vesely
on 2016-03-20 03:14:16 UTC
(
hide
)
Description:
configure: Check if struct fsxattr is available from linux headers
Filename:
MIME Type:
Creator:
Jan Vesely
Created:
2016-03-20 03:14:16 UTC
Size:
1.30 KB
patch
obsolete
>From 6e38bb22c72edbe03a1a377a37ed324a1ec76cea Mon Sep 17 00:00:00 2001 >From: Jan Vesely <jano.vesely@gmail.com> >Date: Sat, 19 Mar 2016 21:05:51 -0400 >Subject: [PATCH] configure: Check if struct fsxattr is available from linux > header > >Fixes build with new linux headers. > >Signed-off-by: Jan Vesely <jano.vesely@gmail.com> >--- >linux-headers-4.5 and xfsprogs-3.2.4 in my case > > configure | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > >diff --git a/configure b/configure >index b88d0db..bb64d6c 100755 >--- a/configure >+++ b/configure >@@ -4474,6 +4474,21 @@ if test "$fortify_source" != "no"; then > fi > fi > >+######################################## >+# check if struct fsxattr is available >+ >+have_fsxattr=no >+cat > $TMPC << EOF >+#include <linux/fs.h> >+struct fsxattr foo; >+int main(void) { >+ return 0; >+} >+EOF >+if compile_prog "" "" ; then >+ have_fsxattr=yes >+fi >+ > ########################################## > # End of CC checks > # After here, no more $cc or $ld runs >@@ -5137,6 +5152,9 @@ fi > if test "$have_ifaddrs_h" = "yes" ; then > echo "HAVE_IFADDRS_H=y" >> $config_host_mak > fi >+if test "$have_fsxattr" = "yes" ; then >+ echo "HAVE_FSXATTR=y" >> $config_host_mak >+fi > if test "$vte" = "yes" ; then > echo "CONFIG_VTE=y" >> $config_host_mak > echo "VTE_CFLAGS=$vte_cflags" >> $config_host_mak >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 577810
: 428632 |
428636