aboutsummaryrefslogtreecommitdiff
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-07-13 04:35:25 +0000
committerCy Schubert <cy@FreeBSD.org>2024-07-13 04:45:27 +0000
commit518e0275a6603c913816be0f6cb4efab3ba56815 (patch)
treedec44faf9622bd138976ffb4ed0e0926b0890093 /security/libgcrypt
parent4e0616a2066dc9e45cef47de812efdea4e09709c (diff)
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/files/patch-cipher_Makefile.in11
-rw-r--r--security/libgcrypt/files/patch-random_Makefile.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/security/libgcrypt/files/patch-cipher_Makefile.in b/security/libgcrypt/files/patch-cipher_Makefile.in
new file mode 100644
index 000000000000..01f0f32e578b
--- /dev/null
+++ b/security/libgcrypt/files/patch-cipher_Makefile.in
@@ -0,0 +1,11 @@
+--- cipher/Makefile.in.orig 2024-07-13 04:19:00 UTC
++++ cipher/Makefile.in
+@@ -643,7 +643,7 @@ EXTRA_libcipher_la_SOURCES = \
+ blake2s-amd64-avx.S blake2s-amd64-avx512.S
+
+ @ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
+-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O1 /' -e 's/[[:blank:]]-Ofast/ -O1 /g'
++@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O1 /g' -e 's/[[:blank:]]-Ofast/ -O1 /g'
+ @ENABLE_INSTRUMENTATION_MUNGING_FALSE@instrumentation_munging = cat
+
+ # We need to disable instrumentation for these modules as they use cc as
diff --git a/security/libgcrypt/files/patch-random_Makefile.in b/security/libgcrypt/files/patch-random_Makefile.in
new file mode 100644
index 000000000000..4543139606bf
--- /dev/null
+++ b/security/libgcrypt/files/patch-random_Makefile.in
@@ -0,0 +1,11 @@
+--- random/Makefile.in.orig 2024-07-13 04:20:47 UTC
++++ random/Makefile.in
+@@ -407,7 +407,7 @@ jitterentropy-base.c jitterentropy.h jitterentropy-bas
+ @ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
+
+ # The rndjent module needs to be compiled without optimization. */
+-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([1-9sgz][1-9sgz]*\)/ -O0 /' -e 's/[[:blank:]]-Ofast/ -O0 /g'
++@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/[[:blank:]]-O\([1-9sgz][1-9sgz]*\)/ -O0 /g' -e 's/[[:blank:]]-Ofast/ -O0 /g'
+ all: all-am
+
+ .SUFFIXES: