modem/libsmdpkg_wrapper: upgrade to 0.2 (!687)

Remove Werror workaround in APKBUILD, as the necessary change has been
upstreamed. By rebuilding the package, we fix the following errors:

Error relocating /usr/lib/preload/libsmdpkt_wrapper.so: minor: symbol not found
Error relocating /usr/lib/preload/libsmdpkt_wrapper.so: major: symbol not found
This commit is contained in:
Luca Weiss 2019-10-15 20:25:02 +02:00 committed by Oliver Smith
parent eec980c7a1
commit 1ef2d6e433
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,31 +1,22 @@
pkgname=libsmdpkt_wrapper pkgname=libsmdpkt_wrapper
pkgver=0.1 pkgver=0.2
pkgrel=1 pkgrel=0
pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)" pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)"
url="https://github.com/scintill/libsmdpkt_wrapper" url="https://github.com/scintill/libsmdpkt_wrapper"
arch="all" arch="all"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
_tag=v$pkgver
makedepends="linux-headers" makedepends="linux-headers"
source="$pkgname-$_tag.tar.gz::https://github.com/scintill/libsmdpkt_wrapper/archive/$_tag.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/scintill/libsmdpkt_wrapper/archive/v$pkgver.tar.gz"
builddir="$srcdir""/libsmdpkt_wrapper-${pkgver}"
options="!check" options="!check"
prepare() {
default_prepare
sed s/-Werror/-W/g -i Makefile
}
build() { build() {
cd "$builddir"
make make
} }
package() { package() {
cd "$builddir"
install -Dm644 libsmdpkt_wrapper.so "$pkgdir"/usr/lib/preload/libsmdpkt_wrapper.so install -Dm644 libsmdpkt_wrapper.so "$pkgdir"/usr/lib/preload/libsmdpkt_wrapper.so
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
} }
sha512sums="4979ef87523585ac2baaa901680a4f55fe11036ea591ecd43efc2c48f1681ff79699f7a4896e905397a87bbfb380c94f84f09bb48eb7db42ebfe73f26f95bbe2 libsmdpkt_wrapper-v0.1.tar.gz" sha512sums="89b6ccd1f21c23b0fe2cc58ce74095f29a57d64d3a01c7114a08cb2e706627e60250b90c4d62001f02083f704eca17822f1dcd33f8408fe35d7b52258421a9bb libsmdpkt_wrapper-0.2.tar.gz"