Couple of SPDX fixes
cover Couple of SPDX fixes
Hi all,
Seems like the revision of the SPDX license identifiers, that landed in master, dropped the wrong hunk/paragraph.
Namely: a function description/summary was removed in one m4 file, while the license exception in the second m4 file was intended.
I've left the two changes as separate patches, since I'm not 100% sure if dropping the former wasn't semi-intentional.
Feel free to pick whichever patch makes sense o/
---
Emil Velikov (2):
m4: reinstate CC_CHECK_FLAG_APPEND summary
m4: remove verbose license exception clause
m4/attributes.m4 | 5 +++++ m4/features.m4 | 13 ------------- 2 files changed, 5 insertions(+), 13 deletions(-)
---
base-commit: af21689dd0f1ef6f40d6ecc323885026a07486f9
change-id: 20240810-b4-spdx-fixup-b7bdae8b60da
Best regards,
Signature · 1 line
Emil Velikov <[email protected]>
PATCH 1/2 m4: reinstate CC_CHECK_FLAG_APPEND summary
Earlier commit was reducing the license boilerplate to SPDX license identifiers and erroneously dropped the function summary section.
--- m4/attributes.m4 | 5 +++++ 1 file changed, 5 insertions(+)
m4/attributes.m4 +5 -0
@@ -4,6 +4,11 @@ # Copyright (c) 2006-2008 xine project # Copyright (c) 2012 Lucas De Marchi <[email protected]> +# Check if FLAG in ENV-VAR is supported by compiler and append it +# to WHERE-TO-APPEND variable. Note that we invert -Wno-* checks to +# -W* as gcc cannot test for negated warnings. +# CC_CHECK_FLAG_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG]) + AC_DEFUN([CC_CHECK_FLAG_APPEND], [ AC_CACHE_CHECK([if $CC supports flag $3 in envvar $2], AS_TR_SH([cc_cv_$2_$3]),
Signature · 1 line
2.45.2
PATCH 2/2 m4: remove verbose license exception clause
In reply to Emil VelikovIt is already encoded in the SPDX license identifier.
--- m4/features.m4 | 13 ------------- 1 file changed, 13 deletions(-)
m4/features.m4 +0 -13
@@ -1,19 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later WITH Autoconf-exception-macro # # Copyright (c) 2015 Lucas De Marchi <[email protected]> -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. # CC_FEATURE_APPEND([FLAGS], [ENV-TO-CHECK], [FLAG-NAME]) AC_DEFUN([CC_FEATURE_APPEND], [
Signature · 1 line
2.45.2
Lucas De Marchi
AppliedQuoted 10 lines · Emil Velikov
Seems like the revision of the SPDX license identifiers, that landed in master, dropped the wrong hunk/paragraph.
Namely: a function description/summary was removed in one m4 file, while the license exception in the second m4 file was intended.
I've left the two changes as separate patches, since I'm not 100% sure if dropping the former wasn't semi-intentional.
[...]
Applied, thanks!
[1/2] m4: reinstate CC_CHECK_FLAG_APPEND summary
commit: 0cdd9847206b368800dac9099d5af2332340a0eb
[2/2] m4: remove verbose license exception clause
commit: 5535278c8d6e05ebc9b5c413d495c155a8c09bbaBest regards,
Signature · 1 line
Lucas De Marchi <[email protected]>
PATCH 1/1 m4: remove verbose license exception clause
From: Emil Velikov <[email protected]>
It is already encoded in the SPDX license identifier.
--- m4/features.m4 | 13 ------------- 1 file changed, 13 deletions(-)
m4/features.m4 +0 -13
@@ -1,19 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later WITH Autoconf-exception-macro # # Copyright (c) 2015 Lucas De Marchi <[email protected]> -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. # CC_FEATURE_APPEND([FLAGS], [ENV-TO-CHECK], [FLAG-NAME]) AC_DEFUN([CC_FEATURE_APPEND], [
Signature · 1 line
2.46.0