<div dir="ltr">Package: libre-dev<br>Version: 1.1.0-1<div>Severity: important</div><div>Tags: patch<br><br>Specifically re_crc32.h includes zlib.h<br><br>Discovered while trying to build <a href="https://github.com/alfredh/repcpd">https://github.com/alfredh/repcpd</a><br><br>```<br>[   68s] make[1]: Entering directory '/usr/src/packages/BUILD'<br>[   68s]   CC [M]  build-x86_64/modules/announce/announce.o<br>[   68s] In file included from /usr/include/re/re.h:27,<br>[   68s]                  from modules/announce/announce.c:7:<br>[   68s] /usr/include/re/re_crc32.h:9:10: fatal error: zlib.h: No such file or directory<br>[   68s]     9 | #include <zlib.h><br>[   68s]       |          ^~~~~~~~<br>[   68s] compilation terminated.<div>```</div><div><br>I opened a merge request to fix this, but appears it was removed as merge requests were later disabled on the repo. I was notified of this removal. (<a href="https://salsa.debian.org/pkg-voip-team/libre/-/merge_requests/1">https://salsa.debian.org/pkg-voip-team/libre/-/merge_requests/1</a>)</div><div><br></div><div>My proposed fix is:</div><div><a href="https://salsa.debian.org/nickbroon/libre/-/commit/438b34da2f2147b4db6b2521d580598e226cd29e">https://salsa.debian.org/nickbroon/libre/-/commit/438b34da2f2147b4db6b2521d580598e226cd29e</a><br></div><div><br></div><div>diff --git a/debian/control b/debian/control<br>index 6c0f773..1b02b64 100644<br>--- a/debian/control<br>+++ b/debian/control<br>@@ -55,6 +55,7 @@ Multi-Arch: same<br> Section: libdevel<br> Depends:<br>  libre0 (= ${binary:Version}),<br>+ zlib1g-dev,<br>  ${misc:Depends},<br>  ${shlibs:Depends},<br> Description: generic library for real-time communications (development files)<br></div></div></div>