* [Buildroot] [PATCH] uclibc: fix issues with udp.h, missing stdint.h
@ 2017-07-09 7:02 Waldemar Brodkorb
2017-07-09 16:08 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2017-07-09 7:02 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/3e4/3e468c7b1be376024422e2f06750571f64f433a2/
http://autobuild.buildroot.net/results/8c6/8c629a1c5c4a1d78c8bf09a091a332a424a0f757/
Reported-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
...-udp.h-sync-completely-with-GNU-C-library.patch | 52 ++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 package/uclibc/0002-udp.h-sync-completely-with-GNU-C-library.patch
diff --git a/package/uclibc/0002-udp.h-sync-completely-with-GNU-C-library.patch b/package/uclibc/0002-udp.h-sync-completely-with-GNU-C-library.patch
new file mode 100644
index 0000000..2eb2a27
--- /dev/null
+++ b/package/uclibc/0002-udp.h-sync-completely-with-GNU-C-library.patch
@@ -0,0 +1,52 @@
+From fcf3a1950dbdbcf7a600cf8ae0e4ea92c20f5af1 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Wed, 5 Jul 2017 23:02:59 +0200
+Subject: [PATCH] udp.h: sync completely with GNU C library
+
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ include/netinet/udp.h | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/include/netinet/udp.h b/include/netinet/udp.h
+index ac6f23413..a4eb32d76 100644
+--- a/include/netinet/udp.h
++++ b/include/netinet/udp.h
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 1991-1993,1995-1997,2004,2009 Free Software Foundation, Inc.
++/* Copyright (C) 1991-2017 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+@@ -47,9 +47,8 @@
+ #ifndef __NETINET_UDP_H
+ #define __NETINET_UDP_H 1
+
+-#include <features.h>
+ #include <sys/types.h>
+-
++#include <stdint.h>
+
+ /* UDP header as specified by RFC 768, August 1980. */
+
+@@ -78,11 +77,17 @@ struct udphdr
+ #define UDP_CORK 1 /* Never send partially complete segments. */
+ #define UDP_ENCAP 100 /* Set the socket to accept
+ encapsulated packets. */
++#define UDP_NO_CHECK6_TX 101 /* Disable sending checksum for UDP
++ over IPv6. */
++#define UDP_NO_CHECK6_RX 102 /* Disable accepting checksum for UDP
++ over IPv6. */
+
+ /* UDP encapsulation types */
+ #define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */
+ #define UDP_ENCAP_ESPINUDP 2 /* draft-ietf-ipsec-udp-encaps-06 */
+ #define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */
++#define UDP_ENCAP_GTP0 4 /* GSM TS 09.60 */
++#define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */
+
+ #define SOL_UDP 17 /* sockopt level for UDP */
+
+--
+2.11.0
+
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] uclibc: fix issues with udp.h, missing stdint.h
2017-07-09 7:02 [Buildroot] [PATCH] uclibc: fix issues with udp.h, missing stdint.h Waldemar Brodkorb
@ 2017-07-09 16:08 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-07-09 16:08 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 9 Jul 2017 09:02:19 +0200, Waldemar Brodkorb wrote:
> Fixes:
> http://autobuild.buildroot.net/results/3e4/3e468c7b1be376024422e2f06750571f64f433a2/
> http://autobuild.buildroot.net/results/8c6/8c629a1c5c4a1d78c8bf09a091a332a424a0f757/
>
> Reported-by: Romain Naour <romain.naour@gmail.com>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> ...-udp.h-sync-completely-with-GNU-C-library.patch | 52 ++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
> create mode 100644 package/uclibc/0002-udp.h-sync-completely-with-GNU-C-library.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-09 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-09 7:02 [Buildroot] [PATCH] uclibc: fix issues with udp.h, missing stdint.h Waldemar Brodkorb
2017-07-09 16:08 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.