Skip to content

Commit 98567d4

Browse files
committed
downloads: upgrade gdbm 1.18.1 to 1.21
1 parent 393a1b6 commit 98567d4

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

cpython-unix/build-gdbm.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,6 @@ tar -xf gdbm-${GDBM_VERSION}.tar.gz
1313

1414
pushd gdbm-${GDBM_VERSION}
1515

16-
# Patch to work with -fno-common, which LLVM 11 enabled.
17-
patch -p1 <<EOF
18-
diff --git a/src/parseopt.c b/src/parseopt.c
19-
index a7b504f..1f6b561 100644
20-
--- a/src/parseopt.c
21-
+++ b/src/parseopt.c
22-
@@ -255,8 +255,6 @@ print_option_descr (const char *descr, size_t lmargin, size_t rmargin)
23-
}
24-
25-
char *parseopt_program_name;
26-
-char *parseopt_program_doc;
27-
-char *parseopt_program_args;
28-
const char *program_bug_address = "<" PACKAGE_BUGREPORT ">";
29-
void (*parseopt_help_hook) (FILE *stream);
30-
31-
EOF
32-
33-
3416
# CPython setup.py looks for libgdbm_compat and gdbm-ndbm.h,
3517
# which require --enable-libgdbm-compat.
3618
CLFAGS="${EXTRA_TARGET_CFLAGS} -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" ./configure \

pythonbuild/downloads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
"version": "10.3.0",
8787
},
8888
"gdbm": {
89-
"url": "https://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz",
90-
"size": 941863,
91-
"sha256": "86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc",
92-
"version": "1.18.1",
89+
"url": "https://ftp.gnu.org/gnu/gdbm/gdbm-1.21.tar.gz",
90+
"size": 1005982,
91+
"sha256": "b0b7dbdefd798de7ddccdd8edf6693a30494f7789777838042991ef107339cc2",
92+
"version": "1.21",
9393
"library_names": ["gdbm"],
9494
"licenses": ["GPL-3.0-or-later"],
9595
"license_file": "LICENSE.gdbm.txt",

0 commit comments

Comments
 (0)