/[smeserver]/rpms/samba/sme10/samba-v4-6-fix-building-with-new-glibc.patch
ViewVC logotype

Annotation of /rpms/samba/sme10/samba-v4-6-fix-building-with-new-glibc.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Wed Aug 9 04:48:47 2023 UTC (10 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import

1 jpp 1.1 From 69c97f1806f72a61f194acaaba7f2b919cb91227 Mon Sep 17 00:00:00 2001
2     From: Andreas Schneider <asn@samba.org>
3     Date: Thu, 5 Jan 2017 09:34:36 +0100
4     Subject: [PATCH] replace: Include sysmacros.h
5    
6     In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For
7     historical compatibility, it is currently defined by <sys/types.h> as
8     well, but it is planned to remove this soon.
9    
10     BUG: https://bugzilla.samba.org/show_bug.cgi?id=12686
11    
12     Signed-off-by: Andreas Schneider <asn@samba.org>
13     Reviewed-by: Volker Lendecke <vl@samba.org>
14    
15     (cherry picked from commit 0127bdd33b251a52c6ffc44b6cb3b82b16a80741)
16     ---
17     lib/replace/replace.h | 4 ++++
18     1 file changed, 4 insertions(+)
19    
20     diff --git a/lib/replace/replace.h b/lib/replace/replace.h
21     index c69a069e4b3..1dbeacfff66 100644
22     --- a/lib/replace/replace.h
23     +++ b/lib/replace/replace.h
24     @@ -171,6 +171,10 @@
25     #include <sys/types.h>
26     #endif
27    
28     +#ifdef HAVE_SYS_SYSMACROS_H
29     +#include <sys/sysmacros.h>
30     +#endif
31     +
32     #ifdef HAVE_SETPROCTITLE_H
33     #include <setproctitle.h>
34     #endif
35     --
36     2.12.0
37    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed