Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=d84545dcbcc2fd910061667bdde8cee54e4b6dfc

commit d84545dcbcc2fd910061667bdde8cee54e4b6dfc
Author: crazy <cr...@frugalware.org>
Date:   Fri Feb 9 22:36:24 2018 +0100

connman-1.35-2-x86_64

* rebuild with tc
* fix compile errors with kernel >=4.15

diff --git a/source/network-extra/connman/FrugalBuild 
b/source/network-extra/connman/FrugalBuild
index 533c412..286c166 100644
--- a/source/network-extra/connman/FrugalBuild
+++ b/source/network-extra/connman/FrugalBuild
@@ -3,13 +3,13 @@

pkgname=connman
pkgver=1.35
-pkgrel=1
+pkgrel=2
url="http://connman.net/";
pkgdesc="open source connection manager"
up2date="Flasttar http://www.kernel.org/pub/linux/network/connman/";
source=(http://www.kernel.org/pub/linux/network/$pkgname/$pkgname-$pkgver.tar.gz
 \
allow_group_netdev.diff \
-       polkit.pc-files.patch)
+       polkit.pc-files.patch kernel-4.15.patch)
depends=('wpa_supplicant' 'dhclient>=4.3.3' 'polkit' 'libsystemd>=229' 
'ppp>=2.4.7-2' 'wireless_tools' \
'iptables>=1.6.1' 'openvpn>=2.3.10' 'gnutls>=3.4.2')
makedepends=('systemd>=229' 'bluez>=5.37-2')
@@ -18,7 +18,8 @@ archs=('i686' 'x86_64')
replaces=("connman-gnome")
sha1sums=('50b79184da66048dd53ecebcd85ce1ff599cb595' \
'c9dd34f11a2d9313152171e60f2775c95b47e323' \
-          'bdbfcb68349a34b497aec209dd326f54a421ee6a')
+          'bdbfcb68349a34b497aec209dd326f54a421ee6a' \
+          '6a27f83498303f03a5bdd988390dcf79575142a8')

Fconfopts+=" \
--sysconfdir=/etc \
diff --git a/source/network-extra/connman/kernel-4.15.patch 
b/source/network-extra/connman/kernel-4.15.patch
new file mode 100644
index 0000000..7c7bf24
--- /dev/null
+++ b/source/network-extra/connman/kernel-4.15.patch
@@ -0,0 +1,37 @@
+From bdfb3526466f8fb8f13d9259037d8f42c782ce24 Mon Sep 17 00:00:00 2001
+From: Daniel Wagner <w...@monom.org>
+Date: Wed, 17 Jan 2018 23:42:50 +0100
+Subject: tethering: Reorder header includes
+
+Avoid compile errors due to unsupported header include order with
+newer kernels (>=4.15). We should import the libc header files first
+and then the Linux header files in user space applications.
+
+Reported by Neil MacLeod <n...@nmacleod.com>. Fix probosal by Jonas
+Bonn <jo...@southpole.se> and Hauke Mehrtens <ha...@hauke-m.de>.
+---
+ src/tethering.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+(limited to 'src/tethering.c')
+
+diff --git a/src/tethering.c b/src/tethering.c
+index c929ba7..4b20236 100644
+--- a/src/tethering.c
++++ b/src/tethering.c
+@@ -31,11 +31,11 @@
+ #include <stdio.h>
+ #include <sys/ioctl.h>
+ #include <net/if.h>
+-#include <linux/sockios.h>
+ #include <string.h>
+ #include <fcntl.h>
+-#include <linux/if_tun.h>
+ #include <netinet/in.h>
++#include <linux/sockios.h>
++#include <linux/if_tun.h>
+ #include <linux/if_bridge.h>
+
+ #include "connman.h"
+--
+cgit v1.1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to