Skip to contentSkip to conversation

package/m4: bump to 1.4.20

PATCH Applied Vincent Fazio 2 participants 3 messages May 17, 2025 – May 31, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/m4: bump to 1.4.20

The new version bundles an updated gnulib that includes support for -std=c23 which is the default for gcc 15.

---
 package/m4/m4.hash |  2 +-
 package/m4/m4.mk   | 12 +-----------
 2 files changed, 2 insertions(+), 12 deletions(-)
package/m4/m4.hash +1 -1
index a81f4fab9c..a5b8456cc2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-sha256  63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96  m4-1.4.19.tar.xz
+sha256  e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b  m4-1.4.20.tar.xz
 # License files, locally calculated
 sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  COPYING
package/m4/m4.mk +1 -11
index f5e1e27ad8..396c2bbee2 100644
@@ -4,20 +4,10 @@
 #
 ################################################################################
 
-M4_VERSION = 1.4.19
+M4_VERSION = 1.4.20
 M4_SOURCE = m4-$(M4_VERSION).tar.xz
 M4_SITE = $(BR2_GNU_MIRROR)/m4
 M4_LICENSE = GPL-3.0+
 M4_LICENSE_FILES = COPYING
 
-# gcc-15 defaults to -std=gnu23 which is incorrectly detected and
-# generates build failures in the gnulib copy included in
-# m4-1.4.19. We workaround this by forcing the previous gcc default
-# standard, which is -std=gnu17 only when host gcc is >= 15. This
-# workaround can be removed when m4 will be updated to a version
-# including a fix for gcc-15.
-ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y)
-HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -std=gnu17"
-endif
-
 $(eval $(host-autotools-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Vincent Fazio

The new version bundles an updated gnulib that includes support for -std=c23 which is the default for gcc 15.

Applied to master, thanks.

Regards,
Arnout

Quoted 31 lines
---
  package/m4/m4.hash |  2 +-
  package/m4/m4.mk   | 12 +-----------
  2 files changed, 2 insertions(+), 12 deletions(-)
package/m4/m4.hash +1 -1
index a81f4fab9c..a5b8456cc2 100644
@@ -1,4 +1,4 @@
  # Locally calculated after checking pgp signature
-sha256  63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96  m4-1.4.19.tar.xz
+sha256  e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b  m4-1.4.20.tar.xz
  # License files, locally calculated
  sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  COPYING
package/m4/m4.mk +1 -2
index f5e1e27ad8..396c2bbee2 100644
@@ -4,20 +4,10 @@
  #
  ################################################################################
 
-M4_VERSION = 1.4.19
+M4_VERSION = 1.4.20
  M4_SOURCE = m4-$(M4_VERSION).tar.xz
  M4_SITE = $(BR2_GNU_MIRROR)/m4
  M4_LICENSE = GPL-3.0+
  M4_LICENSE_FILES = COPYING
 
-# gcc-15 defaults to -std=gnu23 which is incorrectly detected and

package/m4/m4.mk line 13

Quoted 10 lines
package/m4/m4.mk +0 -9
-# generates build failures in the gnulib copy included in
-# m4-1.4.19. We workaround this by forcing the previous gcc default
-# standard, which is -std=gnu17 only when host gcc is >= 15. This
-# workaround can be removed when m4 will be updated to a version
-# including a fix for gcc-15.
-ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y)
-HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -std=gnu17"
-endif
-
  $(eval $(host-autotools-package))

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

#2 lore raw
In reply to Vincent Fazio
Quoted 4 lines · Vincent Fazio

The new version bundles an updated gnulib that includes support for -std=c23 which is the default for gcc 15.

Applied to 2025.02.x, thanks.

Regards,
Arnout

Quoted 31 lines
---
  package/m4/m4.hash |  2 +-
  package/m4/m4.mk   | 12 +-----------
  2 files changed, 2 insertions(+), 12 deletions(-)
package/m4/m4.hash +1 -1
index a81f4fab9c..a5b8456cc2 100644
@@ -1,4 +1,4 @@
  # Locally calculated after checking pgp signature
-sha256  63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96  m4-1.4.19.tar.xz
+sha256  e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b  m4-1.4.20.tar.xz
  # License files, locally calculated
  sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  COPYING
package/m4/m4.mk +1 -2
index f5e1e27ad8..396c2bbee2 100644
@@ -4,20 +4,10 @@
  #
  ################################################################################
 
-M4_VERSION = 1.4.19
+M4_VERSION = 1.4.20
  M4_SOURCE = m4-$(M4_VERSION).tar.xz
  M4_SITE = $(BR2_GNU_MIRROR)/m4
  M4_LICENSE = GPL-3.0+
  M4_LICENSE_FILES = COPYING
 
-# gcc-15 defaults to -std=gnu23 which is incorrectly detected and

package/m4/m4.mk line 13

Quoted 10 lines
package/m4/m4.mk +0 -9
-# generates build failures in the gnulib copy included in
-# m4-1.4.19. We workaround this by forcing the previous gcc default
-# standard, which is -std=gnu17 only when host gcc is >= 15. This
-# workaround can be removed when m4 will be updated to a version
-# including a fix for gcc-15.
-ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y)
-HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -std=gnu17"
-endif
-
  $(eval $(host-autotools-package))

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