The Samba-Bugzilla – Attachment 5904 Details for
Bug 7620
AIX build broken due to gcc'ism
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for netgrent checks on compilers that don't support -Werror-implicit-function-declaration
0001-s3-Fix-netgrent-configure-checks-for-compilers-not-s.patch (text/plain), 1.00 KB, created by
Kai Blin
on 2010-08-14 00:45:12 UTC
(
hide
)
Description:
Fix for netgrent checks on compilers that don't support -Werror-implicit-function-declaration
Filename:
MIME Type:
Creator:
Kai Blin
Created:
2010-08-14 00:45:12 UTC
Size:
1.00 KB
patch
obsolete
>From 3d0ca89995bd41bfdb901b59acdb30a8159be5d3 Mon Sep 17 00:00:00 2001 >From: Kai Blin <kai@samba.org> >Date: Sat, 14 Aug 2010 07:40:51 +0200 >Subject: [PATCH] s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration > >--- > source3/configure.in | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index b4564ee..3536315 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -6506,7 +6506,9 @@ AC_SUBST(FLAGS1) > ################################################### > # Check for different/missing (set|get|end)netgrent prototypes > CFLAGS_SAVE=$CFLAGS >-CFLAGS="$CFLAGS -Werror-implicit-function-declaration" >+if test x"$samba_cv_HAVE_Wdeclaration_after_statement" = x"yes"; then >+ CFLAGS="$CFLAGS -Werror-implicit-function-declaration" >+fi > AC_CACHE_CHECK([for setnetgrent prototype],samba_cv_setnetgrent_prototype, [ > AC_TRY_COMPILE([#include<netdb.h> > #ifdef HAVE_NETGROUP_H >-- >1.7.0.4 >
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:
kai
:
review+
Actions:
View
Attachments on
bug 7620
: 5904