Skip to contentSkip to conversation

package/sg3_utils: bump to version 1.47

PATCH In review Fabrice Fontaine 2 participants 2 messages Nov 12, 2021 – Nov 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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:
https://github.com/doug-gilbert/sg3_utils/commit/f0195003bb0c66ba55084b2f7e0fe982f08c5675)
- Fix the following build failure raised on musl since bump to version 1.46 in commit a00ed30780819c72174ae959bdd6f15ed961e938:

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

---
 .../0001-support-uclinux-as-a-linux.patch        | 16 ----------------
 package/sg3_utils/sg3_utils.hash                 |  4 ++--
 package/sg3_utils/sg3_utils.mk                   |  5 +----
 3 files changed, 3 insertions(+), 22 deletions(-)
 delete mode 100644 package/sg3_utils/0001-support-uclinux-as-a-linux.patch
package/sg3_utils/0001-support-uclinux-as-a-linux.patch deleted +0 -16
deleted file mode 100644
index d9106cd9f8..0000000000
@@ -1,16 +0,0 @@
-Recognise uclinux as a linux
-
-Signed-off-by: "Yann E. MORIN" <[email protected]>
-
-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])
package/sg3_utils/sg3_utils.hash +2 -2
index 39510b4dc2..ff2ef55180 100644
@@ -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
package/sg3_utils/sg3_utils.mk +1 -4
index 1983a12261..055f7befb9 100644
@@ -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
 
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2021-11-12 11:07 +0100, Fabrice Fontaine spake thusly:

Quoted 11 lines

- Drop patch (already in version) and so autoreconf
- Update hash of COPYING (upodate in date and author's email:
https://github.com/doug-gilbert/sg3_utils/commit/f0195003bb0c66ba55084b2f7e0fe982f08c5675)
- Fix the following build failure raised on musl since bump to version 1.46 in commit a00ed30780819c72174ae959bdd6f15ed961e938:

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 */
| ^~~~~

Quoted 6 lines

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

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

Since this fixes a build issue, removes a patch, and drops autoreconf, and even though this is a version bump: applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 72 lines
---
 .../0001-support-uclinux-as-a-linux.patch        | 16 ----------------
 package/sg3_utils/sg3_utils.hash                 |  4 ++--
 package/sg3_utils/sg3_utils.mk                   |  5 +----
 3 files changed, 3 insertions(+), 22 deletions(-)
 delete mode 100644 package/sg3_utils/0001-support-uclinux-as-a-linux.patch
package/sg3_utils/0001-support-uclinux-as-a-linux.patch deleted +0 -16
deleted file mode 100644
index d9106cd9f8..0000000000
@@ -1,16 +0,0 @@
-Recognise uclinux as a linux
-
-Signed-off-by: "Yann E. MORIN" <[email protected]>
-
-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])
package/sg3_utils/sg3_utils.hash +2 -2
index 39510b4dc2..ff2ef55180 100644
@@ -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
package/sg3_utils/sg3_utils.mk +1 -4
index 1983a12261..055f7befb9 100644
@@ -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
 
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot