libserf/serf-1.3.8-testfix.patch

15 lines
542 B
Diff

Fix build.
--- serf-1.3.8/test/test_buckets.c.testfix
+++ serf-1.3.8/test/test_buckets.c
@@ -1234,7 +1234,7 @@ static apr_status_t deflate_compress(con
uncompressed data, + 12 bytes. This info comes from zlib.h.
Note: This isn't sufficient when using Z_NO_FLUSH and extremely compressed
data. Use a buffer bigger than what we need. */
-// buf_size = orig_len + (orig_len / 1000) + 12;
+ /* buf_size = orig_len + (orig_len / 1000) + 12; */
buf_size = 100000;
write_buf = apr_palloc(pool, buf_size);