distribution/packages/security/libgcrypt/patches/libgcrypt-01-dont_replace_parts_of_path-0.1.patch

25 lines
1.2 KiB
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff -Naur libgcrypt-1.4.6/cipher/Makefile.am libgcrypt-1.4.6.patch/cipher/Makefile.am
--- libgcrypt-1.4.6/cipher/Makefile.am 2009-12-11 16:31:38.000000000 +0100
+++ libgcrypt-1.4.6.patch/cipher/Makefile.am 2011-05-08 03:21:56.463021968 +0200
@@ -153,7 +153,7 @@
2022-02-05 14:23:32 +00:00
if ENABLE_O_FLAG_MUNGING
-o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]*\)/-O1/' -e 's/-Ofast/-O1/g'
+o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]\)/-O1/' -e 's/-Ofast/-O1/g'
2022-02-05 14:23:32 +00:00
else
o_flag_munging = cat
endif
diff -Naur libgcrypt-1.4.6/cipher/Makefile.in libgcrypt-1.4.6.patch/cipher/Makefile.in
--- libgcrypt-1.4.6/cipher/Makefile.in 2010-07-13 17:42:20.000000000 +0200
+++ libgcrypt-1.4.6.patch/cipher/Makefile.in 2011-05-08 03:22:12.059208971 +0200
@@ -602,7 +602,7 @@
blake2b-amd64-avx2.S blake2s-amd64-avx.S
2022-02-05 14:23:32 +00:00
@ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]*\)/-O1/' -e 's/-Ofast/-O1/g'
+@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]\)/-O1/' -e 's/-Ofast/-O1/g'
@ENABLE_INSTRUMENTATION_MUNGING_FALSE@instrumentation_munging = cat
2022-02-05 14:23:32 +00:00
# We need to disable instrumentation for these modules as they use cc as