All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Serbinenko <phcoder@gmail.com>
To: grub-devel@gnu.org
Cc: Vladimir Serbinenko <phcoder@gmail.com>
Subject: [PATCH 7/7] Remove now unneeded gcrypt compilation flag
Date: Tue,  1 Apr 2025 15:58:58 +0300	[thread overview]
Message-ID: <20250401125921.2794962-7-phcoder@gmail.com> (raw)
In-Reply-To: <20250401125921.2794962-1-phcoder@gmail.com>

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
 conf/Makefile.common | 2 +-
 util/import_gcry.py  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/Makefile.common b/conf/Makefile.common
index 5cada4568..0df4d6e7a 100644
--- a/conf/Makefile.common
+++ b/conf/Makefile.common
@@ -82,7 +82,7 @@ CFLAGS_POSIX = -fno-builtin
 CPPFLAGS_POSIX = -I$(top_srcdir)/grub-core/lib/posix_wrap
 
 CFLAGS_GCRY = -Wno-error=sign-compare -Wno-missing-field-initializers -Wno-redundant-decls -Wno-undef $(CFLAGS_POSIX)
-CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap $(CPPFLAGS_POSIX) -D_GCRYPT_IN_LIBGCRYPT=1 -D_GCRYPT_CONFIG_H_INCLUDED=1 -DHAVE_STRTOUL=1 -I$(top_srcdir)/include/grub/gcrypt
+CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap $(CPPFLAGS_POSIX) -D_GCRYPT_IN_LIBGCRYPT=1 -D_GCRYPT_CONFIG_H_INCLUDED=1 -I$(top_srcdir)/include/grub/gcrypt
 
 CPPFLAGS_EFIEMU = -I$(top_srcdir)/grub-core/efiemu/runtime
 
diff --git a/util/import_gcry.py b/util/import_gcry.py
index 102c7d8ff..6b181655c 100644
--- a/util/import_gcry.py
+++ b/util/import_gcry.py
@@ -608,6 +608,7 @@ for src in sorted (os.listdir (os.path.join (indir, "src"))):
     if src == "g10lib.h":
         fw.write("#include <cipher_wrap.h>\n")
         fw.write("#include <grub/crypto.h>\n")
+        fw.write("#include <stdlib.h>\n")
         fw.write (f.read ().replace ("(printf,f,a)", "(__printf__,f,a)").replace ("#include \"../compat/libcompat.h\"", "").replace("#define N_(a) (a)", ""))
         f.close ()
         fw.close ()
-- 
2.49.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

  parent reply	other threads:[~2025-04-01 13:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-01 12:58 [PATCH 1/7] Import libgcrypt 1.10.3 Vladimir Serbinenko
2025-04-01 12:58 ` [PATCH 2/7] Import b64dec from gpg-error Vladimir Serbinenko
2025-04-03 14:44   ` Daniel Kiper
2025-04-01 12:58 ` [PATCH 3/7] Adjust import script, definitions and API users for libgcrypt 1.10 Vladimir Serbinenko
2025-04-03 14:51   ` Daniel Kiper
2025-04-03 22:33     ` Vladimir 'phcoder' Serbinenko
2025-04-01 12:58 ` [PATCH 4/7] Add DSA and RSA SEXP tests Vladimir Serbinenko
2025-04-03 14:59   ` Daniel Kiper
2025-04-03 22:37     ` Vladimir 'phcoder' Serbinenko
2025-04-01 12:58 ` [PATCH 5/7] keccak: Disable acceleration with SSE asm Vladimir Serbinenko
2025-04-03 15:06   ` Daniel Kiper
2025-04-03 22:38     ` Vladimir 'phcoder' Serbinenko
2025-04-01 12:58 ` [PATCH 6/7] libgcrypt: Fix coverity warnings Vladimir Serbinenko
2025-04-03 15:19   ` Daniel Kiper
2025-04-03 22:55     ` Vladimir 'phcoder' Serbinenko
2025-04-01 12:58 ` Vladimir Serbinenko [this message]
2025-04-03 15:23   ` [PATCH 7/7] Remove now unneeded gcrypt compilation flag Daniel Kiper
2025-04-03 14:40 ` [PATCH 1/7] Import libgcrypt 1.10.3 Daniel Kiper
2025-04-03 22:05   ` Vladimir 'phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250401125921.2794962-7-phcoder@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.