Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/glibc: fix fsconfig_command redeclaration bug
@ 2022-10-01  2:05 Athaariq Ardhiansyah
  2022-10-01 15:56 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Athaariq Ardhiansyah @ 2022-10-01  2:05 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Thomas Petazzoni

Temporary fix for buildroot-specific bug. Ideally, we should install linux-headers first then glibc. Is this actually possible on Buildroot? If yes, then we can also fix bug #15021 simultaneously if linux-headers being installed first as possible.

Signed-off-by: Athaariq Ardhiansyah <buildroot@athaariq.my.id>
---
 .../0002-fsconfig_command-workaround.patch      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 package/glibc/0002-fsconfig_command-workaround.patch

diff --git a/package/glibc/0002-fsconfig_command-workaround.patch b/package/glibc/0002-fsconfig_command-workaround.patch
new file mode 100644
index 0000000000..27dd25b244
--- /dev/null
+++ b/package/glibc/0002-fsconfig_command-workaround.patch
@@ -0,0 +1,17 @@
+diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
+index 19841d0738..43a681d097 100644
+--- a/sysdeps/unix/sysv/linux/sys/mount.h
++++ b/sysdeps/unix/sysv/linux/sys/mount.h
+@@ -27,11 +27,7 @@
+ #include <stddef.h>
+ #include <sys/ioctl.h>
+ 
+-#ifdef __has_include
+-# if __has_include ("linux/mount.h")
+-#  include "linux/mount.h"
+-# endif
+-#endif
++#include "linux/mount.h"
+ 
+ 
+ #define BLOCK_SIZE_BITS	10
-- 
2.37.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-05  2:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-01  2:05 [Buildroot] [PATCH 1/1] package/glibc: fix fsconfig_command redeclaration bug Athaariq Ardhiansyah
2022-10-01 15:56 ` Yann E. MORIN
     [not found]   ` <84f6447a658a7c5c46852dc84fe5cb1a@athaariq.my.id>
2022-10-02  3:33     ` buildroot
2022-10-02  7:40       ` Yann E. MORIN
2022-10-04  6:59         ` Peter Seiderer
2022-10-04 19:41           ` Peter Seiderer
2022-10-05  2:08         ` buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox