Add various patches for compatibility and improvements across multiple projects
- Introduced BSD tooling compatibility patch for Linux kernel, modifying header dependency handling and export checks in KVM. - Updated MLIR project to ensure generated headers are correctly located and dependencies are managed for various tools. - Enhanced ncurses configuration to support wide-character handling, ensuring proper header generation and compatibility. - Modified GNU parallel to use POSIX compliant shell, ensuring broader compatibility across different environments. - Fixed capability name handling in procps-ng by replacing echo with printf for better formatting. - Adjusted util-linux build system to support byacc alongside bison, improving parser generation and flexibility.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
--- a/Makefile.am 2026-07-06 19:57:41.644939943 +0000
|
||||
+++ b/Makefile.am 2026-07-06 19:57:42.970765965 +0000
|
||||
@@ -494,7 +494,7 @@
|
||||
last_capname=`sed -n -e 's/^#define\s*CAP_LAST_CAP\s*\([A-Z_]*\)$$/\1/p' $(LNX_CAP_HEADER)`; \
|
||||
capability_count=`sed -n -e "s/^#define\s*$$last_capname\s*\([0-9]*\)$$/\1/p" $(LNX_CAP_HEADER)`; \
|
||||
sed -n -e 's/^#define\s*CAP_\([A-Z_]*\)\s*\([0-9]*\)$$/ [\2] = \"\L\1\",/p' $(LNX_CAP_HEADER) >> $@; \
|
||||
- echo -e "};\n\n" >> $@; \
|
||||
+ printf '};\n\n' >> $@; \
|
||||
echo "#define CAPABILITY_COUNT $$capability_count" >> $@; \
|
||||
echo "$$capnames_footer" >> $@; \
|
||||
echo ""; \
|
||||
--- a/Makefile.in 2026-07-06 19:57:41.751349466 +0000
|
||||
+++ b/Makefile.in 2026-07-06 19:57:42.972186513 +0000
|
||||
@@ -3390,7 +3390,7 @@
|
||||
last_capname=`sed -n -e 's/^#define\s*CAP_LAST_CAP\s*\([A-Z_]*\)$$/\1/p' $(LNX_CAP_HEADER)`; \
|
||||
capability_count=`sed -n -e "s/^#define\s*$$last_capname\s*\([0-9]*\)$$/\1/p" $(LNX_CAP_HEADER)`; \
|
||||
sed -n -e 's/^#define\s*CAP_\([A-Z_]*\)\s*\([0-9]*\)$$/ [\2] = \"\L\1\",/p' $(LNX_CAP_HEADER) >> $@; \
|
||||
- echo -e "};\n\n" >> $@; \
|
||||
+ printf '};\n\n' >> $@; \
|
||||
echo "#define CAPABILITY_COUNT $$capability_count" >> $@; \
|
||||
echo "$$capnames_footer" >> $@; \
|
||||
echo ""; \
|
||||
Reference in New Issue
Block a user