From 664750c53f68b714cb1a9fe5386bc1d8bbe9f216 Mon Sep 17 00:00:00 2001 From: xiaoweiwei Date: Tue, 14 Jan 2020 19:32:49 +0800 Subject: [PATCH] add patch to modify build err --- ...libqmi-add-patch-to-modify-build-err.patch | 26 +++++++++++++++++++ libqmi.spec | 9 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-libqmi-add-patch-to-modify-build-err.patch diff --git a/0001-libqmi-add-patch-to-modify-build-err.patch b/0001-libqmi-add-patch-to-modify-build-err.patch new file mode 100644 index 0000000..7a60153 --- /dev/null +++ b/0001-libqmi-add-patch-to-modify-build-err.patch @@ -0,0 +1,26 @@ +From f8c34b1f0f503a35a37bd5cd1f729955cf2fb262 Mon Sep 17 00:00:00 2001 +From: xiaoweiwei +Date: Tue, 14 Jan 2020 19:18:06 +0800 +Subject: [PATCH] libqmi: add patch to modify build err + +Signed-off-by: Buildteam +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index f299c70..4ba1ac3 100755 +--- a/configure ++++ b/configure +@@ -12207,7 +12207,7 @@ $as_echo "$has_option" >&6; } + done + unset option + if test "x$set_more_warnings" = xerror; then +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-- +1.8.3.1 + diff --git a/libqmi.spec b/libqmi.spec index c562ca8..bab3db9 100644 --- a/libqmi.spec +++ b/libqmi.spec @@ -1,12 +1,13 @@ Name: libqmi Version: 1.20.0 -Release: 4 +Release: 5 License: LGPLv2+ and GPLv2+ Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol URL: http://freedesktop.org/software/libqmi Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz Patch6000: bugfix-fix-glib-upgraded-to-propagate-propagate-propagate-in-propagate.patch +Patch6001: 0001-libqmi-add-patch-to-modify-build-err.patch BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.14.0 python2 >= 2.7 gtk-doc Provides: libqmi-utils = %{version}-%{release} @@ -67,6 +68,12 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac %{_mandir}/man1/* %changelog +* Tue Jan 14 2020 openEuler Buildteam - 1.20.0-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add patch to modify build err + * Fri Nov 29 2019 Lijin Yang - 1.20.0-4 - init package