This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.18-109-gae7080d


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  ae7080d30c68cfa0c81ce3422dca948f64a94f50 (commit)
      from  5905e7b3e29139dbef84c065ca39315485f497e1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ae7080d30c68cfa0c81ce3422dca948f64a94f50

commit ae7080d30c68cfa0c81ce3422dca948f64a94f50
Author: Jia Liu <proljc@gmail.com>
Date:   Sat Sep 7 00:01:08 2013 +0800

    sunrpc/rpc/types.h: fix OS X and FreeBSD build problems
    
    When I build arm-linux-gcc on OS X, I find glibc will get a build error
    in sunrpc/rpc/types.h, so I add __APPLE_CC__ to make OS X build OK.
    For FreeBSD, Add __FreeBSD__ to make it build OK, too.
    
    URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00155.html
    URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00217.html
    URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00240.html
    Signed-off-by: Jia Liu <proljc@gmail.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/ChangeLog b/ChangeLog
index cb1b403..8f264da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-09-11  Jia Liu  <proljc@gmail.com>
+
+	* sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
+	__daddr_t_defined.
+	[__FreeBSD__]: Likewise.
+
 2013-09-11  OndÅ?ej Bílka  <neleai@seznam.cz>
 
 	* sysdeps/x86_64/multiarch/ifunc-impl-list.c
diff --git a/sunrpc/rpc/types.h b/sunrpc/rpc/types.h
index 3dca5c4..beded52 100644
--- a/sunrpc/rpc/types.h
+++ b/sunrpc/rpc/types.h
@@ -69,6 +69,11 @@ typedef unsigned long rpcport_t;
 #include <sys/types.h>
 #endif
 
+#if defined __APPLE_CC__ || defined __FreeBSD__
+# define __u_char_defined
+# define __daddr_t_defined
+#endif
+
 #ifndef __u_char_defined
 typedef __u_char u_char;
 typedef __u_short u_short;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    6 ++++++
 sunrpc/rpc/types.h |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]