Skip to content

Commit ad62bd5

Browse files
committed
Merge bitcoin/bitcoin#27312: depends: qrencode 4.1.1
eb1c3ad depends: qrencode 4.1.1 (fanquake) Pull request description: Upgrade to the latest qrencode, and disable some warnings that cause compile failures with newer compilers (clang-15+). I haven't tested this (from a GUI perspective) at all. This is just "good enough" to keep things compiling, and uses some similar work-arounds as we have with other older packages, i.e bdb. Note that upstream, libqrencode is effectively unmaintained. No code changes for > 2 years. No responses to issues/PRs. Seems like the author has mostly dropped off of GitHub as well. This fixes part of #27299. ACKs for top commit: TheCharlatan: Code review ACK eb1c3ad Tree-SHA512: 898eaac3e9915dfcdc0a011b736fff685a3b46990bd27f6038ef4d3e7cb6a276206438ea50d45908a051ce55c9b0779347d4be1d35271b67f76f409a7dc21fed
2 parents e352f5a + eb1c3ad commit ad62bd5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

depends/packages/qrencode.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
package=qrencode
2-
$(package)_version=3.4.4
2+
$(package)_version=4.1.1
33
$(package)_download_path=https://fukuchi.org/works/qrencode/
44
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=efe5188b1ddbcbf98763b819b146be6a90481aac30cfc8d858ab78a19cde1fa5
5+
$(package)_sha256_hash=e455d9732f8041cf5b9c388e345a641fd15707860f928e94507b1961256a6923
66

77
define $(package)_set_vars
8-
$(package)_config_opts=--disable-shared --without-tools --without-tests --disable-sdltest
8+
$(package)_config_opts=--disable-shared --without-tools --without-tests --without-png
99
$(package)_config_opts += --disable-gprof --disable-gcov --disable-mudflap
1010
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
1111
$(package)_config_opts_linux=--with-pic
1212
$(package)_config_opts_android=--with-pic
13+
$(package)_cflags += -Wno-int-conversion -Wno-implicit-function-declaration
1314
endef
1415

1516
define $(package)_preprocess_cmds

0 commit comments

Comments
 (0)