pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/libgcrypt



Module Name:    pkgsrc
Committed By:   nros
Date:           Sun Sep 18 08:42:46 UTC 2022

Modified Files:
        pkgsrc/security/libgcrypt: distinfo
Added Files:
        pkgsrc/security/libgcrypt/patches: patch-random_Makefile.in

Log Message:
Fix usage of -O and -Oz compiling options

The sed options that clear out optimization
options for rndjent.c, that must be compiled
without optimization, did not take away -O
as reported by Jason Bacon on pkgsrc-users.
While here also make it take away the -Oz
optimization option supported by gcc 12
and later.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/security/libgcrypt/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/libgcrypt/patches/patch-random_Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/libgcrypt/distinfo
diff -u pkgsrc/security/libgcrypt/distinfo:1.95 pkgsrc/security/libgcrypt/distinfo:1.96
--- pkgsrc/security/libgcrypt/distinfo:1.95     Tue Mar 29 07:16:00 2022
+++ pkgsrc/security/libgcrypt/distinfo  Sun Sep 18 08:42:45 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.95 2022/03/29 07:16:00 adam Exp $
+$NetBSD: distinfo,v 1.96 2022/09/18 08:42:45 nros Exp $
 
 BLAKE2s (libgcrypt-1.10.1.tar.bz2) = 9c70b204486365abb3b4731e14078d284952df672215d72f9d0ac6b508f82a8d
 SHA512 (libgcrypt-1.10.1.tar.bz2) = e5ca7966624fff16c3013795836a2c4377f0193dbb4ac5ad2b79654b1fa8992e17d83816569a402212dc8367a7980d4141f5d6ac282bae6b9f02186365b61f13
@@ -7,4 +7,5 @@ SHA1 (patch-aa) = 60b3f4453b217ed8879a2f
 SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
 SHA1 (patch-configure) = edc92453a0843ab0442da7f1b9df2ef4c219bdf5
 SHA1 (patch-mpi_config.links) = 0e87480ead46914653405bb9c693554180ccd126
+SHA1 (patch-random_Makefile.in) = c72c5bcd2e0d5eee9c14b1ee04a683bc9ccec958
 SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518

Added files:

Index: pkgsrc/security/libgcrypt/patches/patch-random_Makefile.in
diff -u /dev/null pkgsrc/security/libgcrypt/patches/patch-random_Makefile.in:1.1
--- /dev/null   Sun Sep 18 08:42:46 2022
+++ pkgsrc/security/libgcrypt/patches/patch-random_Makefile.in  Sun Sep 18 08:42:45 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-random_Makefile.in,v 1.1 2022/09/18 08:42:45 nros Exp $
+
+* Support removal of -O and -Oz compiler options
+
+--- random/Makefile.in.orig    2022-09-18 07:52:40.446196827 +0000
++++ random/Makefile.in
+@@ -409,7 +409,7 @@ jitterentropy-base.c jitterentropy.h jit
+ @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/-O\([1-9sg][1-9sg]*\)/-O0/g' -e 's/-Ofast/-O0/g'
++@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O\([1-9sgz][1-9sgz]*\)/-O0/g' -e 's/-Ofast/-O0/g' -e 's/-O /-O0 /g'
+ all: all-am
+ 
+ .SUFFIXES:



Home | Main Index | Thread Index | Old Index