diff -Nru libsmbios-2.2.28/debian/changelog libsmbios-2.2.28/debian/changelog --- libsmbios-2.2.28/debian/changelog 2013-05-31 05:17:03.000000000 +0000 +++ libsmbios-2.2.28/debian/changelog 2016-02-29 22:48:01.000000000 +0000 @@ -1,3 +1,11 @@ +libsmbios (2.2.28-2ubuntu0~vivid1) vivid; urgency=medium + + * backport to vivid + * Install pkg-config files in libsmbios-dev. + * Don't display a warning when compiling on newer compilers. + + -- Mario Limonciello Mon, 29 Feb 2016 16:47:28 -0600 + libsmbios (2.2.28-2) unstable; urgency=low * cli.py should in fact be part of python-smbios diff -Nru libsmbios-2.2.28/debian/libsmbios-dev.install libsmbios-2.2.28/debian/libsmbios-dev.install --- libsmbios-2.2.28/debian/libsmbios-dev.install 2013-05-31 05:17:03.000000000 +0000 +++ libsmbios-2.2.28/debian/libsmbios-dev.install 2016-02-29 22:47:22.000000000 +0000 @@ -3,3 +3,4 @@ debian/tmp/usr/lib/libsmbios_c.a debian/tmp/usr/lib/libsmbios.a src/include usr +debian/tmp/usr/lib/pkgconfig/ diff -Nru libsmbios-2.2.28/debian/patches/0001-support-newer-gcc-versions.patch libsmbios-2.2.28/debian/patches/0001-support-newer-gcc-versions.patch --- libsmbios-2.2.28/debian/patches/0001-support-newer-gcc-versions.patch 1970-01-01 00:00:00.000000000 +0000 +++ libsmbios-2.2.28/debian/patches/0001-support-newer-gcc-versions.patch 2016-02-29 22:47:19.000000000 +0000 @@ -0,0 +1,43 @@ +From 23017bdcdbe466df555f63b66d6fcf305ec93260 Mon Sep 17 00:00:00 2001 +From: Michael E Brown +Date: Thu, 29 Mar 2012 00:16:40 -0500 +Subject: [PATCH] support newer gcc versions + +--- + src/include/smbios/config/compiler/gcc.hpp | 4 ++-- + src/include/smbios_c/config/compiler/gcc.h | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/include/smbios/config/compiler/gcc.hpp b/src/include/smbios/config/compiler/gcc.hpp +index 0891255..13d97d9 100644 +--- a/src/include/smbios/config/compiler/gcc.hpp ++++ b/src/include/smbios/config/compiler/gcc.hpp +@@ -110,10 +110,10 @@ + // versions check: + // we don't know gcc prior to version 2.90: + #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) +-# error "Compiler not configured - please reconfigure" ++# error "Compiler too old. GCC > 3.0 required" + #endif + // +-#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)) ++#if (__GNUC__ > 5) + # if defined(LIBSMBIOS_ASSERT_CONFIG) + # error "Unknown compiler version - please run the configure tests and report the results" + # else +diff --git a/src/include/smbios_c/config/compiler/gcc.h b/src/include/smbios_c/config/compiler/gcc.h +index f46b8dc..007cc73 100644 +--- a/src/include/smbios_c/config/compiler/gcc.h ++++ b/src/include/smbios_c/config/compiler/gcc.h +@@ -24,7 +24,7 @@ + # error "GCC versions < 2.90 not supported" + #endif + // +-#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 7)) ++#if (__GNUC__ > 5) + # if defined(LIBSMBIOS_C_ASSERT_CONFIG) + # error "Unknown compiler version - please run the configure tests and report the results" + # else +-- +2.7.0 + diff -Nru libsmbios-2.2.28/debian/patches/series libsmbios-2.2.28/debian/patches/series --- libsmbios-2.2.28/debian/patches/series 2013-05-31 05:17:03.000000000 +0000 +++ libsmbios-2.2.28/debian/patches/series 2016-02-29 22:47:19.000000000 +0000 @@ -1,2 +1,3 @@ amlcmessages.patch am_disable_lzma.patch +0001-support-newer-gcc-versions.patch