From 78d1d515da0fd2a59abf1ae27db0903b9760de45 Mon Sep 17 00:00:00 2001 From: "Stuart D. Gathman" Date: Fri, 24 Feb 2017 15:02:31 -0500 Subject: [PATCH] in6_ifreq definition moved in kernel-headers-4.11 --- cjdns.spec | 5 ++++- cjdns.warnings.patch | 12 ++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/cjdns.spec b/cjdns.spec index c260968..1d0a58f 100644 --- a/cjdns.spec +++ b/cjdns.spec @@ -43,7 +43,7 @@ Name: cjdns # major version is cjdns protocol version: Version: 19.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The privacy-friendly network without borders Group: System Environment/Base # cjdns is all GPLv3 except libuv which is MIT and BSD and ISC @@ -513,6 +513,9 @@ fi %{_bindir}/graphStats %changelog +* Fri Feb 24 2017 Stuart D. Gathman 19.1-2 +- Adjust for moving in6_ifreq to linux/ipv6.h in kernel-headers-4.11 + * Fri Feb 24 2017 Stuart D. Gathman 19.1-1 - New upstream release diff --git a/cjdns.warnings.patch b/cjdns.warnings.patch index 882a0ad..9042c2c 100644 --- a/cjdns.warnings.patch +++ b/cjdns.warnings.patch @@ -92,8 +92,16 @@ diff -up ./util/Gcc.h.warnings ./util/Gcc.h #endif diff -up ./util/platform/netdev/NetPlatform_linux.c.warnings ./util/platform/netdev/NetPlatform_linux.c --- ./util/platform/netdev/NetPlatform_linux.c.warnings 2017-02-21 17:56:22.000000000 -0500 -+++ ./util/platform/netdev/NetPlatform_linux.c 2017-02-24 12:36:55.763819191 -0500 -@@ -165,7 +165,7 @@ void NetPlatform_addAddress(const char* ++++ ./util/platform/netdev/NetPlatform_linux.c 2017-02-24 14:55:11.354136283 -0500 +@@ -36,6 +36,7 @@ + #include + #if ! defined(android) + #include ++ #include + #endif + #include + #include +@@ -165,7 +166,7 @@ void NetPlatform_addAddress(const char* Except_throw(eh, "ioctl(SIOCSIFADDR) failed: [%s]", strerror(err)); }