All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mongodb: add patch to compile with glibc >= 2.28
@ 2018-09-12  8:34 Florian La Roche
  2018-09-12  8:52 ` Thomas Petazzoni
  2018-09-16 19:57 ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Florian La Roche @ 2018-09-12  8:34 UTC (permalink / raw)
  To: buildroot

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used.

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
---
 package/mongodb/mongodb.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 package/mongodb/mongodb.patch

diff --git a/package/mongodb/mongodb.patch b/package/mongodb/mongodb.patch
new file mode 100644
index 0000000000..d429b4e891
--- /dev/null
+++ b/package/mongodb/mongodb.patch
@@ -0,0 +1,10 @@
+--- ./src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp
++++ ./src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp
+@@ -32,6 +32,7 @@
+ 
+ #include "mongo/db/storage/mmap_v1/mmap_v1_engine.h"
+ 
++#include <sys/sysmacros.h>
+ #include <boost/filesystem/path.hpp>
+ #include <boost/filesystem/operations.hpp>
+ #include <fstream>
-- 
2.17.1

Gesch?ftsf?hrung: Susanne Kunschert, Thomas Pilz
Pilz GmbH & Co. KG, Sitz: Ostfildern, HRA 210 893, Amtsgericht Stuttgart
Kompl. Ges. Peter Pilz GmbH, Sitz: Ostfildern, HRB 210 612, Amtsgericht Stuttgart
Umsatzsteuer: ID-Nr. DE 145 355 773, WEEE-Reg.-Nr. DE 71636849
This email is intended solely for the use of the named address(es). Any unauthorised disclosure, copying or distribution of these confidential information contained therein, or the taking of any action based on it, is prohibited. The sender disclaims any liability for the integrity of this email. Legally binding declarations must be in written form.
Umweltschutz liegt uns am Herzen! - Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail drucken.
We do care about the environment! - Please consider the environment before printing this e-mail.

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

end of thread, other threads:[~2018-09-16 19:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12  8:34 [Buildroot] [PATCH 1/1] package/mongodb: add patch to compile with glibc >= 2.28 Florian La Roche
2018-09-12  8:52 ` Thomas Petazzoni
2018-09-12  9:49   ` [Buildroot] Antwort: " Florian La Roche
2018-09-12 12:40   ` Florian La Roche
2018-09-12 18:06     ` [Buildroot] " Sergio Prado
2018-09-12 18:53       ` Thomas Petazzoni
2018-09-16 19:57 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.