aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2/files/patch-xmlIO.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2/files/patch-xmlIO.c')
-rw-r--r--textproc/libxml2/files/patch-xmlIO.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/textproc/libxml2/files/patch-xmlIO.c b/textproc/libxml2/files/patch-xmlIO.c
deleted file mode 100644
index 6f765aefc9f9..000000000000
--- a/textproc/libxml2/files/patch-xmlIO.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./xmlIO.c.orig 2009-09-24 08:32:00.000000000 -0700
-+++ ./xmlIO.c 2010-03-17 12:35:00.957293884 -0700
-@@ -2518,6 +2518,9 @@
- #ifdef HAVE_ZLIB_H
- if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
- (strcmp(URI, "-") != 0)) {
-+#if defined(ZLIB_VERNUM) && ZLIB_VERNUM >= 0x1230
-+ ret->compressed = !gzdirect(context);
-+#else
- if (((z_stream *)context)->avail_in > 4) {
- char *cptr, buff4[4];
- cptr = (char *) ((z_stream *)context)->next_in;
-@@ -2529,6 +2532,7 @@
- gzrewind(context);
- }
- }
-+#endif
- }
- #endif
- }