From 36618f327e0bf3e2714eba0ca3b2bdba359c5027 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III via Openembedded-devel" Date: Fri, 25 Jan 2019 20:47:25 -0500 Subject: libmbim: Upgrade to 1.18.0 Accidentally sent outdated patch. This is current. Verified it works with both GCC and clang. >From b1d6d7ae22f7ebcd943493c60e78dea2f9c00a31 Mon Sep 17 00:00:00 2001 From: Glenn Stroz Date: Fri, 25 Jan 2019 20:33:57 -0500 Subject: [PATCH] libmbim: Upgrade to 1.18.0 Signed-off-by: Glenn Stroz Signed-off-by: Khem Raj --- .../recipes-connectivity/libmbim/libmbim/clang.patch | 2 +- meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb | 18 ------------------ meta-oe/recipes-connectivity/libmbim/libmbim_1.18.0.bb | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb create mode 100644 meta-oe/recipes-connectivity/libmbim/libmbim_1.18.0.bb diff --git a/meta-oe/recipes-connectivity/libmbim/libmbim/clang.patch b/meta-oe/recipes-connectivity/libmbim/libmbim/clang.patch index 92e657c00a..d88578418d 100644 --- a/meta-oe/recipes-connectivity/libmbim/libmbim/clang.patch +++ b/meta-oe/recipes-connectivity/libmbim/libmbim/clang.patch @@ -45,7 +45,7 @@ Index: libmbim-1.14.0/m4/compiler-warnings.m4 -Wdeclaration-after-statement -Wstrict-prototypes \ @@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_war -Wmissing-include-dirs -Waggregate-return \ - -Wformat-security; do + -Wformat-security -Wtype-limits; do SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $option" + CFLAGS="$CFLAGS $option $WERROR" diff --git a/meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb b/meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb deleted file mode 100644 index 5260c0f14e..0000000000 --- a/meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "libmbim is library for talking to WWAN devices by MBIM protocol" -DESCRIPTION = "libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol" -HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libmbim/" -LICENSE = "GPLv2 & LGPLv2.1" -LIC_FILES_CHKSUM = " \ - file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ -" - -DEPENDS = "glib-2.0 glib-2.0-native libgudev" - -inherit autotools pkgconfig bash-completion - -SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \ - file://clang.patch \ -" -SRC_URI[md5sum] = "76ea4d8381989919b1d9b91c818fed80" -SRC_URI[sha256sum] = "c8ca50beeddd4b43309df5b698917268303bf176cea58fe4fe53d5bf0e93fac2" diff --git a/meta-oe/recipes-connectivity/libmbim/libmbim_1.18.0.bb b/meta-oe/recipes-connectivity/libmbim/libmbim_1.18.0.bb new file mode 100644 index 0000000000..9f59ad6b4e --- /dev/null +++ b/meta-oe/recipes-connectivity/libmbim/libmbim_1.18.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "libmbim is library for talking to WWAN devices by MBIM protocol" +DESCRIPTION = "libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libmbim/" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +DEPENDS = "glib-2.0 glib-2.0-native libgudev" + +inherit autotools pkgconfig bash-completion + +SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \ + file://clang.patch \ +" +SRC_URI[md5sum] = "840cd133bc0f715a7ee4797dd9ac5562" +SRC_URI[sha256sum] = "6cf40128d83d087946a7d8577e735526202e034d52f90047735329609097b282" -- cgit v1.2.3-54-g00ecf