The Samba-Bugzilla – Attachment 13053 Details for
Bug 12686
Samba doesn't build with newer glibc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.6, 4.5 and 4.4
0001-replace-Include-sysmacros.h.patch (text/plain), 1018 bytes, created by
Andreas Schneider
on 2017-03-14 09:56:40 UTC
(
hide
)
Description:
patch for 4.6, 4.5 and 4.4
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2017-03-14 09:56:40 UTC
Size:
1018 bytes
patch
obsolete
>From 69c97f1806f72a61f194acaaba7f2b919cb91227 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 5 Jan 2017 09:34:36 +0100 >Subject: [PATCH] replace: Include sysmacros.h > >In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For >historical compatibility, it is currently defined by <sys/types.h> as >well, but it is planned to remove this soon. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12686 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> > >(cherry picked from commit 0127bdd33b251a52c6ffc44b6cb3b82b16a80741) >--- > lib/replace/replace.h | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/lib/replace/replace.h b/lib/replace/replace.h >index c69a069e4b3..1dbeacfff66 100644 >--- a/lib/replace/replace.h >+++ b/lib/replace/replace.h >@@ -171,6 +171,10 @@ > #include <sys/types.h> > #endif > >+#ifdef HAVE_SYS_SYSMACROS_H >+#include <sys/sysmacros.h> >+#endif >+ > #ifdef HAVE_SETPROCTITLE_H > #include <setproctitle.h> > #endif >-- >2.12.0 >
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 Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 12686
: 13053