mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/sg3_utils: upgrade to 1.48
also, switch project & source URLs to HTTPS
This commit is contained in:
parent
4c77819e94
commit
1d24e8fb76
@ -1,17 +1,16 @@
|
||||
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=sg3_utils
|
||||
pkgver=1.47
|
||||
pkgrel=1
|
||||
pkgver=1.48
|
||||
pkgrel=0
|
||||
pkgdesc="Generic SCSI utilities"
|
||||
url="http://sg.danny.cz/sg/sg3_utils.html"
|
||||
url="https://sg.danny.cz/sg/sg3_utils.html"
|
||||
arch="all"
|
||||
options="!check" # No test suite.
|
||||
license="BSD-2-Clause AND GPL-2.0-or-later"
|
||||
makedepends="linux-headers"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
source="http://sg.danny.cz/sg/p/sg3_utils-$pkgver.tgz
|
||||
unsigned-int.patch"
|
||||
source="https://sg.danny.cz/sg/p/sg3_utils-$pkgver.tgz"
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
@ -34,6 +33,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
27e43eb1103d6fb321af106964e56b800688ee74ebc47201cda1f29703ddaa34655cb0a6ce926952fdb66e10904e32dda4ca448789e9305a02d55f5477d5d21d sg3_utils-1.47.tgz
|
||||
e288986ef0cdb6a6a07fea51bbeb02f8071eb689eecab8f91c4a6a82528bbed865e1c7b76bc4a5d8236eff1d11e09214ad1d443704b32427d849e2af0cedbb23 unsigned-int.patch
|
||||
7869e74f289d046a4786e8967492446d4a863ae7f5a4fb3b08182f758e4b63a8e2e41e8f256b1a5cb7d1c0a14cacb9df4f70f12cf0d04492ca6adf4bd3d37dde sg3_utils-1.48.tgz
|
||||
"
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
Upstream report: https://github.com/hreinecke/sg3_utils/issues/77
|
||||
|
||||
diff --git a/src/sg_dd.c b/src/sg_dd.c
|
||||
index 9d05c93..7662728 100644
|
||||
--- a/src/sg_dd.c
|
||||
+++ b/src/sg_dd.c
|
||||
@@ -2399,7 +2399,7 @@ main(int argc, char * argv[])
|
||||
res = blocks * blk_sz;
|
||||
if (iflag.zero && iflag.ff && (blk_sz >= 4)) {
|
||||
uint32_t pos = (uint32_t)skip;
|
||||
- uint off;
|
||||
+ unsigned int off;
|
||||
|
||||
for (k = 0, off = 0; k < blocks; ++k, off += blk_sz, ++pos) {
|
||||
for (j = 0; j < (blk_sz - 3); j += 4)
|
||||
Loading…
x
Reference in New Issue
Block a user