summaryrefslogtreecommitdiff
path: root/extra/strigi
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
commit7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch)
tree5b0baf1ad1b36444ffbf73707a377b15fc67692f /extra/strigi
parent46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff)
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'extra/strigi')
-rw-r--r--extra/strigi/libstreamanalyzer_pdf.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/extra/strigi/libstreamanalyzer_pdf.patch b/extra/strigi/libstreamanalyzer_pdf.patch
deleted file mode 100644
index 6871d67fa..000000000
--- a/extra/strigi/libstreamanalyzer_pdf.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit 23d5ce636b7897dc3f233a5293f3164dac50566d
-Author: Jos van den Oever <jos@vandenoever.info>
-Date: Sun Jul 31 12:32:44 2011 +0200
-
- Revert patch that breaks parsing of PDF files.
- The offending patch was 672c8b7b3cb4400bc505421f4cc70cf742ed9df0.
-
-diff --git a/lib/pdf/pdfparser.cpp b/lib/pdf/pdfparser.cpp
-index c27f691..df2f7e5 100644
---- a/lib/pdf/pdfparser.cpp
-+++ b/lib/pdf/pdfparser.cpp
-@@ -34,12 +34,13 @@ StreamStatus
- PdfParser::read(int32_t min, int32_t max) {
- int32_t off = (int32_t)(pos-start);
- int32_t d = (int32_t)(stream->position() - bufferStart);
-- bufferStart += off;
-+ min += d;
-+ if (max > 0) max += d;
- stream->reset(bufferStart);
- int32_t n = stream->read(start, min, max);
- // printf("objstart %i %i\n", d, n);
- if (n < min) return stream->status();
-- pos = start;
-+ pos = start + off;
- end = start + n;
- return Ok;
- }