r6527 - in glibc-package/branches/glibc-2.21/debian: . patches/kfreebsd
Author: aurel32
Date: 2015-09-08 19:10:36 +0000 (Tue, 08 Sep 2015)
New Revision: 6527
Modified:
glibc-package/branches/glibc-2.21/debian/changelog
glibc-package/branches/glibc-2.21/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 5772 (from glibc-bsd).
Closes: #764692, #785796.
Modified: glibc-package/branches/glibc-2.21/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.21/debian/changelog 2015-09-08 18:14:27 UTC (rev 6526)
+++ glibc-package/branches/glibc-2.21/debian/changelog 2015-09-08 19:10:36 UTC (rev 6527)
@@ -17,7 +17,10 @@
#797538.
* Drop loongson-2f flavour on mipsel as this machine is not supported
anymore (default to R2 ISA).
+ * kfreebsd/local-sysdeps.diff: update to revision 5772 (from glibc-bsd).
+ Closes: #764692, #785796.
+
[ Helmut Grohne ]
* Fix some issues with stage 1. Closes: #797831.
Modified: glibc-package/branches/glibc-2.21/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/branches/glibc-2.21/debian/patches/kfreebsd/local-sysdeps.diff 2015-09-08 18:14:27 UTC (rev 6526)
+++ glibc-package/branches/glibc-2.21/debian/patches/kfreebsd/local-sysdeps.diff 2015-09-08 19:10:36 UTC (rev 6527)
@@ -962,7 +962,7 @@
+
--- /dev/null
+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/fcntl.h
-@@ -0,0 +1,226 @@
+@@ -0,0 +1,230 @@
+/* O_*, F_*, FD_* bit values for FreeBSD.
+ Copyright (C) 1991-1992, 1997-2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
@@ -1113,6 +1113,10 @@
+#define F_SETLK64 12 /* Set record locking info (non-blocking). */
+#define F_SETLKW64 13 /* Set record locking info (blocking). */
+
++#if __USE_BSD || __POSIX_VISIBLE >= 200809
++#define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */
++#endif
++
+#if defined __USE_BSD || defined __USE_UNIX98
+# define F_GETOWN 5 /* Get owner of socket (receiver of SIGIO). */
+# define F_SETOWN 6 /* Set owner of socket (receiver of SIGIO). */
@@ -21209,7 +21213,7 @@
+#endif /* netinet/ip_icmp.h */
--- /dev/null
+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/netinet/tcp.h
-@@ -0,0 +1,267 @@
+@@ -0,0 +1,269 @@
+/* netinet/tcp.h
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
@@ -21287,13 +21291,16 @@
+#define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at receiver side */
+#define TCP_MAX_SACK 4 /* MAX # SACKs sent in any segment */
+
-+# ifdef __FAVOR_BSD
+/*
+ * TCP header.
+ * Per RFC 793, September, 1981.
+ */
+struct tcphdr
+ {
++ __extension__ union
++ {
++ struct
++ {
+ u_int16_t th_sport; /* source port */
+ u_int16_t th_dport; /* destination port */
+ tcp_seq th_seq; /* sequence number */
@@ -21317,10 +21324,8 @@
+ u_int16_t th_sum; /* checksum */
+ u_int16_t th_urp; /* urgent pointer */
+};
-+
-+# else /* !__FAVOR_BSD */
-+struct tcphdr
-+ {
++ struct
++ {
+ u_int16_t source;
+ u_int16_t dest;
+ u_int32_t seq;
@@ -21352,7 +21357,8 @@
+ u_int16_t check;
+ u_int16_t urg_ptr;
+};
-+# endif /* __FAVOR_BSD */
++ };
++};
+
+enum
+{
Reply to: