From 9ed7c46da85e51d1100c6f31b2654987ccf628cd Mon Sep 17 00:00:00 2001 From: xiaoweiwei Date: Tue, 14 Jan 2020 15:15:00 +0800 Subject: [PATCH] add patch to modify build err --- ...ibmbim-add-patch-to-modify-build-err.patch | 26 +++++++++++++++++++ libmbim.spec | 10 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 0001-libmbim-add-patch-to-modify-build-err.patch diff --git a/0001-libmbim-add-patch-to-modify-build-err.patch b/0001-libmbim-add-patch-to-modify-build-err.patch new file mode 100644 index 0000000..dad4144 --- /dev/null +++ b/0001-libmbim-add-patch-to-modify-build-err.patch @@ -0,0 +1,26 @@ +From a8b268128ba1171f14c94ae4f7af99f3a4393023 Mon Sep 17 00:00:00 2001 +From: Buildteam +Date: Tue, 14 Jan 2020 15:01:51 +0800 +Subject: [PATCH] libmbim: 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 c3fa98f..111cc45 100755 +--- a/configure ++++ b/configure +@@ -12214,7 +12214,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/libmbim.spec b/libmbim.spec index 290f7d9..0023eb1 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,11 +1,13 @@ Name: libmbim Version: 1.16.0 -Release: 4 +Release: 5 Summary: A glib-based library for talking to WWAN modems and devices License: LGPLv2+ URL: http://freedesktop.org/software/libmbim Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz +Patch0: 0001-libmbim-add-patch-to-modify-build-err.patch + BuildRequires: gcc glib2-devel pkgconfig automake autoconf libtool BuildRequires: python2 >= 2.7 pkgconfig(gudev-1.0) >= 147 gtk-doc BuildRequires: libxslt python-unversioned-command @@ -63,5 +65,11 @@ make check %{_mandir}/man1/* %changelog +* Tue Jan 14 2020 openEuler Buildteam - 1.16.0-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add patch to modify build err + * Wed Dec 11 2019 catastrowings - 1.16.0-4 - openEuler init