package/sg3_utils: bump to version 1.47

- Drop patch (already in version) and so autoreconf
- Update hash of COPYING (upodate in date and author's email:
  f0195003bb)
- Fix the following build failure raised on musl since bump to version
  1.46 in commit a00ed30780:

sg_dd.c: At top level:
sg_dd.c:179:28: error: storage size of 'drand' isn't known
  179 | static struct drand48_data drand;/* opaque, used by srand48_r and mrand48_r */
      |                            ^~~~~

https://github.com/doug-gilbert/sg3_utils/blob/r1.47/ChangeLog

Fixes:
 - http://autobuild.buildroot.org/results/adc20fd52052daadfe1f16ee3f62c30e518cbd16

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-11-12 11:07:49 +01:00 committed by Yann E. MORIN
parent 695fd9bf72
commit 710b0eaebe
3 changed files with 3 additions and 22 deletions

View File

@ -1,16 +0,0 @@
Recognise uclinux as a linux
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN sg3_utils-1.42.orig/configure.ac sg3_utils-1.42/configure.ac
--- sg3_utils-1.42.orig/configure.ac 2015-10-21 01:10:59.000000000 +0200
+++ sg3_utils-1.42/configure.ac 2016-08-14 19:30:37.841766149 +0200
@@ -71,7 +71,7 @@
# Define platform-specific symbol.
AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep 'freebsd' > /dev/null])
-AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
+AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep -E '^(uc)?linux' > /dev/null])
AM_CONDITIONAL(OS_OSF, [echo $host_os | grep '^osf' > /dev/null])
AM_CONDITIONAL(OS_SOLARIS, [echo $host_os | grep '^solaris' > /dev/null])
AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null])

View File

@ -1,6 +1,6 @@
# Locally calculated from download (no sig, hash)
sha256 59c268b10b93ce31a517af13e19c88f285c12b7dd065f50e36b16a7b6fa7b9a0 sg3_utils-1.46.tar.xz
sha256 ddb0cab85fedd8b0db020f3e3f02f6967a055616bf16ea9d5c7408cde41472b2 sg3_utils-1.47.tar.xz
# Hash for license files
sha256 256ec2d7e4e79faabb105ed1ddf32aec11d830c3dadb955a4ab2616eb87439ba COPYING
sha256 d212debdb0a5d7754c977f6dc53bb6c88b4ace7ab784ddbccd06bb970adb1a37 COPYING
sha256 8ddd1d82f2be2f5cbd5b5c3b5c2ee94a90d2ca7112958448da74dd78384fd96a BSD_LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
SG3_UTILS_VERSION = 1.46
SG3_UTILS_VERSION = 1.47
SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz
SG3_UTILS_SITE = http://sg.danny.cz/sg/p
SG3_UTILS_LICENSE = BSD-2-Clause (library)
@ -14,9 +14,6 @@ SG3_UTILS_LICENSE += , GPL-2.0+ (programs), BSD-2-Clause (programs)
endif
SG3_UTILS_LICENSE_FILES = COPYING BSD_LICENSE
# Patching configure.ac/Makefile.am
SG3_UTILS_AUTORECONF = YES
# install the libsgutils2 library
SG3_UTILS_INSTALL_STAGING = YES