From 19ab8c2c7533a06687e89fc65f4104a453d6324e62a35572e1d0294f9be83c12 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 26 Mar 2021 12:07:43 +0000 Subject: [PATCH] Accepting request 881466 from home:dimstar:Factory - Add -Wno-deprecated-declarations to cflags: dealing with deprecations is upstreams business and should not hinder downstream packages from building. OBS-URL: https://build.opensuse.org/request/show/881466 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=35 --- libblockdev.changes | 9 ++++++++- libblockdev.spec | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libblockdev.changes b/libblockdev.changes index 8dc1b20..cc0f111 100644 --- a/libblockdev.changes +++ b/libblockdev.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 26 08:34:04 UTC 2021 - Dominique Leuenberger + +- Add -Wno-deprecated-declarations to cflags: dealing with + deprecations is upstreams business and should not hinder + downstream packages from building. + ------------------------------------------------------------------- Wed Jan 20 08:14:59 UTC 2021 - Dirk Müller @@ -18,7 +25,7 @@ Wed Jan 20 08:14:59 UTC 2021 - Dirk Müller * lvm: Use the UNUSED macro instead of __attribute__((unused)) * Fix max size limit for LVM thinpool metadata * loop: Retry LOOP_SET_STATUS64 on EAGAIN - + ------------------------------------------------------------------- Thu Aug 20 22:11:53 UTC 2020 - Dirk Mueller diff --git a/libblockdev.spec b/libblockdev.spec index 2482650..dc8c663 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -445,6 +445,7 @@ with the libbd_vdo plugin/library. %autosetup -p1 %build +export CFLAGS="%{optflags} -Wno-deprecated-declarations" %configure \ --disable-static \ --enable-introspection \