Link to upstream PR for identical minizip fix

This commit is contained in:
kn 2022-07-21 14:11:16 +00:00
parent b7e6d89139
commit c56da5c31c
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ NO_TEST = Yes
NEEDED_BUNDLES += minizip
# fix Telegram/ThirdParty/minizip/ioapi.c build: off_t is always 64 bit,
# no need for ftello64()
# see upstream "Avoid f*64() on BSDs" https://github.com/madler/zlib/pull/678
CFLAGS += -DIOAPI_NO_64
# unported and required

View File

@ -65,6 +65,7 @@ CONFIGURE_ARGS += -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS} \
# fix src/minizip/ioapi.c warnings: off_t is always 64 bit,
# no need for ftello64()
# see upstream "Avoid f*64() on BSDs" https://github.com/madler/zlib/pull/678
CFLAGS += -DIOAPI_NO_64
.include <bsd.port.mk>