| 1 |
Authorscip-debian debian gaviotatb 0.4.5~git20121213.981472c+dfsg-4 gaviotatb/patches/`zlib.patch`#Author.: Andreas Tille <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Last-Updatescip-debian debian gaviotatb 0.4.5~git20121213.981472c+dfsg-4 gaviotatb/patches/`zlib.patch`#Last-Update.: 2026-03-24 |
| 3 |
Descriptionscip-debian debian gaviotatb 0.4.5~git20121213.981472c+dfsg-4 gaviotatb/patches/`zlib.patch`#Description.: Build with Debian packaged zlib |
| 4 |
|
| 5 |
--- a/compression/wrap.cscip-debian debian gaviotatb 0.4.5~git20121213.981472c+dfsg-4 gaviotatb/upstream/`compression/wrap.c`: |
| 6 |
+++ b/compression/wrap.cscip-debian debian gaviotatb 0.4.5~git20121213.981472c+dfsg-4 gaviotatb/upstream/`compression/wrap.c`: |
| 7 |
@@ -77,7 +77,7 @@ zlib_encode |
| 8 |
enum COMPRESSION_LEVELS {ZLIB_MAXIMUM_COMPRESSION = 9}; |
| 9 |
int outcome; |
| 10 |
unsigned long zz = (unsigned long)out_max; |
| 11 |
|
| 12 |
+ outcome = compress2 (out_start, &zz, in_start, (uLong)in_len, ZLIB_MAXIMUM_COMPRESSION); |
| 13 |
*pout_len = (size_t) zz; |
| 14 |
return outcome == Z_OK; |
| 15 |
} |