Skip to content

Fix minizip include due to minizip.pc change in zlib 1.3.2#284

Open
mymedia2 wants to merge 1 commit intodesktop-app:masterfrom
mymedia2:patch-14
Open

Fix minizip include due to minizip.pc change in zlib 1.3.2#284
mymedia2 wants to merge 1 commit intodesktop-app:masterfrom
mymedia2:patch-14

Conversation

@mymedia2
Copy link
Copy Markdown
Contributor

zlib of version 1.3.2 removed /minizip suffix from the include path in their pkg-config metadata and suggested to include headers with <minizip/zip.h> or <minizip/unzip.h> directives.

Justification see at:
madler/zlib@7e6f078

This change should not conflict with minizip-ng, popular zlib fork, because they install zip.h and unzip.h files to the /usr/include/minizip directory. At least, Fedora has the minizip-ng-compat-devel package.

https://packages.fedoraproject.org/pkgs/minizip-ng/minizip-ng-compat-devel/fedora-rawhide.html#files

And that is [telegramdesktop/tdesktop#16962] may be reverted.

zlib of version 1.3.2 removed /minizip suffix from the include path in their
pkg-config metadata and suggested to move to #include <minizip/(un)?zip.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant