Hello community, here is the log from the commit of package tinyb for openSUSE:Factory checked in at 2017-06-12 15:34:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tinyb (Old) and /work/SRC/openSUSE:Factory/.tinyb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tinyb" Mon Jun 12 15:34:11 2017 rev:2 rq:502768 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tinyb/tinyb.changes 2017-01-25 23:16:27.169050605 +0100 +++ /work/SRC/openSUSE:Factory/.tinyb.new/tinyb.changes 2017-06-12 15:34:19.912281083 +0200 @@ -1,0 +2,6 @@ +Sat Jun 10 10:36:57 UTC 2017 - [email protected] + +- Fix building on gcc7: + * tinyb-gcc7.patch + +------------------------------------------------------------------- New: ---- tinyb-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tinyb.spec ++++++ --- /var/tmp/diff_new_pack.xVYnX4/_old 2017-06-12 15:34:20.968132165 +0200 +++ /var/tmp/diff_new_pack.xVYnX4/_new 2017-06-12 15:34:20.972131601 +0200 @@ -1,7 +1,7 @@ # # spec file for package tinyb # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,11 +23,12 @@ Summary: Tiny Bluetooth LE Library License: MIT Group: Hardware/Other -Url: https://github.com/intel-iot-devkit/%{name} +Url: https://github.com/intel-iot-devkit/tinyb Source: https://github.com/intel-iot-devkit/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: tinyb-gcc7.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(gio-2.0) >= 2.40 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.40 BuildRequires: pkgconfig(glib-2.0) >= 2.40 @@ -39,6 +40,7 @@ %prep %setup -q +%patch0 -p1 %package -n lib%{name}%{sover} Summary: Shared library for %{name} @@ -64,9 +66,8 @@ This package contains development files for %{name}. %build -%cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo -make %{?_smp_mflags} +%cmake +%make_jobs %install %cmake_install ++++++ tinyb-gcc7.patch ++++++ Index: tinyb-0.5.0/api/tinyb/BluetoothGattDescriptor.hpp =================================================================== --- tinyb-0.5.0.orig/api/tinyb/BluetoothGattDescriptor.hpp +++ tinyb-0.5.0/api/tinyb/BluetoothGattDescriptor.hpp @@ -25,6 +25,7 @@ #pragma once #include "BluetoothObject.hpp" #include <vector> +#include <functional> /* Forward declaration of types */ struct _Object;
