Fixed patch for keyutils

This commit is contained in:
dslm4515
2024-01-15 16:21:08 -06:00
parent cca0d31661
commit 95c836e333
2 changed files with 15 additions and 1 deletions

View File

@ -12,7 +12,10 @@
# Optional: NONE
# Per Chimera Linux, enable install(1) portability
patch -Np1 -i ../patches/keyutils-chimera/install.patch
#patch -Np1 -i ../patches/keyutils-chimera/install.patch
# Remove -Werror from CFLAGS
patch -Np1 -i ../patches/keyutils-mlfs/remove-werror.patch
read -p "Compile?" && \
# If building with LLVM-17's LLD, set the LDFLAGS

View File

@ -0,0 +1,11 @@
--- keyutils-1.6.3.orig/Makefile 2020-07-07 11:04:37.000000000 -0500
+++ keyutils-1.6.3/Makefile 2024-01-10 15:39:50.250688856 -0600
@@ -1,6 +1,6 @@
CPPFLAGS := -I.
-CFLAGS := -g -Wall -Werror
-CXXFLAGS := -g -Wall -Werror
+CFLAGS := -g -Wall
+CXXFLAGS := -g -Wall
INSTALL := install
DESTDIR :=
SPECFILE := keyutils.spec