[packages/xorg-xserver-server] update sha1 patch to fix build with gcc 14

atler atler at pld-linux.org
Tue Oct 29 22:25:47 CET 2024


commit cf6a07bcc7dfa2120f0b799fd37b92e29e63f79d
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 29 21:57:27 2024 +0100

    update sha1 patch to fix build with gcc 14

 xorg-xserver-server-builtin-SHA1.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-xserver-server-builtin-SHA1.patch b/xorg-xserver-server-builtin-SHA1.patch
index 028252a..90d9aee 100644
--- a/xorg-xserver-server-builtin-SHA1.patch
+++ b/xorg-xserver-server-builtin-SHA1.patch
@@ -484,7 +484,7 @@ diff -urN xorg-server-1.17.0.org/render/glyph.c xorg-server-1.17.0/render/glyph.
 -    if (!ctx)
 -        return BadAlloc;
 +    SHA1Init (&ctx);
-+    SHA1Update (&ctx, gi, sizeof (xGlyphInfo));
++    SHA1Update (&ctx, (uint8_t *)gi, sizeof (xGlyphInfo));
 +    SHA1Update (&ctx, bits, size);
 +    SHA1Final (sha1, &ctx);
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-xserver-server.git/commitdiff/18bb3cb5369862314739cfe0685761980f25c4f5



More information about the pld-cvs-commit mailing list