zlib-ng/far.diff
Jacek Szafarkiewicz 245d095d95 Add support for compat mode
Build zlib-ng twice in order to distribute the compat sub-packages that
can fully replace zlib (zlib-ng-compat and zlib-ng-compat-devel).

Run ABI tests provided by upstream during %check.

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
2023-12-20 15:21:43 -03:00

13 lines
302 B
Diff

diff --git a/zconf.h.in b/zconf.h.in
index 074f0255..e7183db3 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -200,4 +200,7 @@ typedef PTRDIFF_TYPE ptrdiff_t;
typedef size_t z_size_t;
+/* Some packages depend on FAR being defined, i.e. old versions of minizip. */
+#define FAR
+
#endif /* ZCONF_H */