All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch yem-latest-headers-bridge
@ 2013-03-21 22:36 Yann E. MORIN
  2013-03-21 22:36 ` [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels Yann E. MORIN
  2013-03-21 22:36 ` [Buildroot] [PATCH 2/2] package/connman: version bump to 1.12, and fix build with newer kernels headers Yann E. MORIN
  0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-03-21 22:36 UTC (permalink / raw)
  To: buildroot

Hello All!

This series fixes two breakages with toolchain using headers from
Linux 3.8+, due to the headers shuffling done for the UAPI stuff.

The series fixes two packages:
  - connman, already caught by the autobuilders
  - bridge-utils, as0yet un-caught to my knowledge

There are other packages imopacted by this UAPI shuffling:
  - iptables, already fixed in the version we use (yeah!)
  - maybe other yet unidentified packages (not-so-yeah...)


The following changes since commit 1f721a2f009393c29c6554f643f15f80a8dc5443:

  xinetd: follow the convention for patch location (2013-03-20 23:28:27 +0100)

are available in the git repository at:
  git://gitorious.org/buildroot/buildroot.git yem-latest-headers-bridge

Yann E. MORIN (2):
      package/bridge-utils: fix build with newer kernels
      package/connman: version bump to 1.12, and fix build with newer kernels headers

 ...s.patch => bridge-utils-000-build-system.patch} |    0
 ...dge-utils-001-fix-for-kernel-headers-3.8+.patch |   30 ++++++++++++++++++++
 ...ce.patch => connman-000-uclibc-backtrace.patch} |    0
 .../connman-001-fix-for-latest-headers-3.8+.patch  |   19 ++++++++++++
 package/connman/connman.mk                         |    2 +-
 5 files changed, 50 insertions(+), 1 deletions(-)
 rename package/bridge-utils/{bridge-utils.patch => bridge-utils-000-build-system.patch} (100%)
 create mode 100644 package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch
 rename package/connman/{connman-uclibc-backtrace.patch => connman-000-uclibc-backtrace.patch} (100%)
 create mode 100644 package/connman/connman-001-fix-for-latest-headers-3.8+.patch

Regards,
Yann E. MORIN

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels
  2013-03-21 22:36 [Buildroot] [pull request] Pull request for branch yem-latest-headers-bridge Yann E. MORIN
@ 2013-03-21 22:36 ` Yann E. MORIN
  2013-03-24 21:10   ` Peter Korsgaard
  2013-03-21 22:36 ` [Buildroot] [PATCH 2/2] package/connman: version bump to 1.12, and fix build with newer kernels headers Yann E. MORIN
  1 sibling, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2013-03-21 22:36 UTC (permalink / raw)
  To: buildroot

... while keeping compatibility with older ones.

Preventive fix to autobuild failures! ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 ...s.patch => bridge-utils-000-build-system.patch} |    0
 ...dge-utils-001-fix-for-kernel-headers-3.8+.patch |   30 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)
 rename package/bridge-utils/{bridge-utils.patch => bridge-utils-000-build-system.patch} (100%)
 create mode 100644 package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch

diff --git a/package/bridge-utils/bridge-utils.patch b/package/bridge-utils/bridge-utils-000-build-system.patch
similarity index 100%
rename from package/bridge-utils/bridge-utils.patch
rename to package/bridge-utils/bridge-utils-000-build-system.patch
diff --git a/package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch b/package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch
new file mode 100644
index 0000000..0455a90
--- /dev/null
+++ b/package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch
@@ -0,0 +1,30 @@
+commit 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d
+Author: Russell Senior <russell@personaltelco.net>
+Date:   Wed Mar 6 12:49:42 2013 -0800
+
+    bridge-utils: Fix compile against linux-3.8.x
+    
+    Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a
+    struct in6_addr but doesn't define it.  The trivial seeming fix of
+    including the header that does define it causes more problems.  The
+    problem was discussed on mailing lists in January 2013.  The final
+    suggestion I found was here:
+    
+          http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
+    
+    This is intended to implement that suggestion.
+    
+    Signed-off-by: Russell Senior <russell@personaltelco.net>
+
+diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h
+index 39964f2..dd14bae 100644
+--- a/libbridge/libbridge.h
++++ b/libbridge/libbridge.h
+@@ -20,6 +20,7 @@
+ #define _LIBBRIDGE_H
+ 
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <linux/if.h>
+ #include <linux/if_bridge.h>
+ 
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/connman: version bump to 1.12, and fix build with newer kernels headers
  2013-03-21 22:36 [Buildroot] [pull request] Pull request for branch yem-latest-headers-bridge Yann E. MORIN
  2013-03-21 22:36 ` [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels Yann E. MORIN
@ 2013-03-21 22:36 ` Yann E. MORIN
  1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-03-21 22:36 UTC (permalink / raw)
  To: buildroot

... while keeping compatibility with older ones.

Fixes autobuild failure:
http://autobuild.buildroot.org/results/f99ae7af46c70f7c356b7771321511a42eb3694d/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 ...ce.patch => connman-000-uclibc-backtrace.patch} |    0
 .../connman-001-fix-for-latest-headers-3.8+.patch  |   19 +++++++++++++++++++
 package/connman/connman.mk                         |    2 +-
 3 files changed, 20 insertions(+), 1 deletions(-)
 rename package/connman/{connman-uclibc-backtrace.patch => connman-000-uclibc-backtrace.patch} (100%)
 create mode 100644 package/connman/connman-001-fix-for-latest-headers-3.8+.patch

diff --git a/package/connman/connman-uclibc-backtrace.patch b/package/connman/connman-000-uclibc-backtrace.patch
similarity index 100%
rename from package/connman/connman-uclibc-backtrace.patch
rename to package/connman/connman-000-uclibc-backtrace.patch
diff --git a/package/connman/connman-001-fix-for-latest-headers-3.8+.patch b/package/connman/connman-001-fix-for-latest-headers-3.8+.patch
new file mode 100644
index 0000000..ef1fabc
--- /dev/null
+++ b/package/connman/connman-001-fix-for-latest-headers-3.8+.patch
@@ -0,0 +1,19 @@
+tethering: fix build with kernel headers 3.8+
+
+Highly inspired by:
+    package/bridge-utils/bridge-utils-001-fix-for-kernel-headers-3.8+.patch
+    http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+diff -durN connman-1.11.orig/src/tethering.c connman-1.11/src/tethering.c
+--- connman-1.11.orig/src/tethering.c	2012-12-22 22:52:47.000000000 +0100
++++ connman-1.11/src/tethering.c	2013-03-21 19:39:17.036029270 +0100
+@@ -35,6 +35,7 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <linux/if_tun.h>
++#include <netinet/in.h>
+ #include <linux/if_bridge.h>
+ 
+ #include "connman.h"
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index bb528b4..f29ff3b 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -4,7 +4,7 @@
 #
 #######################################################
 
-CONNMAN_VERSION = 1.11
+CONNMAN_VERSION = 1.12
 CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/
 CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls
 CONNMAN_INSTALL_STAGING = YES
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels
  2013-03-21 22:36 ` [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels Yann E. MORIN
@ 2013-03-24 21:10   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-03-24 21:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> ... while keeping compatibility with older ones.
 Yann> Preventive fix to autobuild failures! ;-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-24 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21 22:36 [Buildroot] [pull request] Pull request for branch yem-latest-headers-bridge Yann E. MORIN
2013-03-21 22:36 ` [Buildroot] [PATCH 1/2] package/bridge-utils: fix build with newer kernels Yann E. MORIN
2013-03-24 21:10   ` Peter Korsgaard
2013-03-21 22:36 ` [Buildroot] [PATCH 2/2] package/connman: version bump to 1.12, and fix build with newer kernels headers Yann E. MORIN

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.