!2 add patch to modify build err

Merge pull request !2 from orange-snn/local
This commit is contained in:
openeuler-ci-bot 2020-01-14 20:56:15 +08:00 committed by Gitee
commit 0f80ec05b8
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From f8c34b1f0f503a35a37bd5cd1f729955cf2fb262 Mon Sep 17 00:00:00 2001
From: xiaoweiwei <xiaoweiwei5@huawei.com>
Date: Tue, 14 Jan 2020 19:18:06 +0800
Subject: [PATCH] libqmi: add patch to modify build err
Signed-off-by: Buildteam <buildteam@openeuler.org>
---
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

View File

@ -1,12 +1,13 @@
Name: libqmi Name: libqmi
Version: 1.20.0 Version: 1.20.0
Release: 4 Release: 5
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
URL: http://freedesktop.org/software/libqmi URL: http://freedesktop.org/software/libqmi
Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz
Patch6000: bugfix-fix-glib-upgraded-to-propagate-propagate-propagate-in-propagate.patch 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 BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.14.0 python2 >= 2.7 gtk-doc
Provides: libqmi-utils = %{version}-%{release} Provides: libqmi-utils = %{version}-%{release}
@ -67,6 +68,12 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.20.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add patch to modify build err
* Fri Nov 29 2019 Lijin Yang <yanglijin@huawei.com> - 1.20.0-4 * Fri Nov 29 2019 Lijin Yang <yanglijin@huawei.com> - 1.20.0-4
- init package - init package