python3-ckzg: upgrade 2.1.1 -> 2.1.7

1.Changelog:
  https://github.com/ethereum/c-kzg-4844/releases/tag/v2.1.7

2.Remove python-ckzg-0001-Let-override-CC.patch as it was merged upstream

3.Remove python-ckzg-0002-Disable-Werror.patch as it was dropped in the Fedora package
  https://src.fedoraproject.org/rpms/python-ckzg/blob/rawhide/f/python-ckzg.spec

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Liu Yiding
2026-04-08 17:49:57 +08:00
committed by Khem Raj
parent 8d37aa1b42
commit 7eb5d48aed
3 changed files with 1 additions and 54 deletions
@@ -1,21 +0,0 @@
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Wed, 6 Nov 2024 16:35:23 +0300
Subject: [PATCH] Let override CC
Upstream-Status: Pending
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/src/Makefile b/src/Makefile
index b733a11..c688005 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -79,7 +79,7 @@ ifeq ($(PLATFORM),Windows)
CFLAGS += -D_CRT_SECURE_NO_WARNINGS
CFLAGS += -Wno-missing-braces -Wno-format
else
- CC = clang
+ CC ?= clang
CFLAGS += -fPIC
CFLAGS += -Wmissing-braces -Wformat=2
endif
@@ -1,30 +0,0 @@
From: rpm-build <rpm-build>
Date: Tue, 26 Nov 2024 11:13:18 +0100
Subject: [PATCH] Disable Werror
Upstream-Status: Pending
Signed-off-by: rpm-build <rpm-build>
diff --git a/src/Makefile b/src/Makefile
index c688005..01b7a80 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@ ifeq ($(PLATFORM),Darwin)
endif
# The base compiler flags. More can be added on command line.
-CFLAGS += -I. -I../inc -O2 -Werror
+CFLAGS += -I. -I../inc
# Enable a bunch of optional warnings.
CFLAGS += \
-pedantic \
@@ -81,7 +81,7 @@ ifeq ($(PLATFORM),Windows)
else
CC ?= clang
CFLAGS += -fPIC
- CFLAGS += -Wmissing-braces -Wformat=2
+ CFLAGS += -Wmissing-braces
endif
# Settings for blst.
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI += " \ SRC_URI += " \
file://blst-0001-Support-64-bit-limbs-on-no-asm-platforms.patch \ file://blst-0001-Support-64-bit-limbs-on-no-asm-platforms.patch \
file://python-ckzg-0001-Let-override-CC.patch \
file://python-ckzg-0002-Disable-Werror.patch \
" "
SRC_URI[sha256sum] = "d6b306b7ec93a24e4346aa53d07f7f75053bc0afc7398e35fa649e5f9d48fcc4" SRC_URI[sha256sum] = "a0c61c5fd573af0267bcb435ef0f499911289ceb05e863480779ea284a3bb928"
inherit pypi setuptools3 inherit pypi setuptools3