Link to upstream PR for identical minizip fix
This commit is contained in:
parent
b7e6d89139
commit
c56da5c31c
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user