openbsd-ports/textproc/xpdf/patches/patch-xpdf_pdftotext_cc
brad 54cbe89b39 upgrade to xpdf 3.00
"shitloads better rendering" - jose@
2004-01-25 06:02:40 +00:00

18 lines
535 B
Plaintext

$OpenBSD: patch-xpdf_pdftotext_cc,v 1.2 2004/01/25 06:02:40 brad Exp $
--- xpdf/pdftotext.cc.orig 2004-01-21 20:26:45.000000000 -0500
+++ xpdf/pdftotext.cc 2004-01-24 23:34:15.000000000 -0500
@@ -160,13 +160,6 @@ int main(int argc, char *argv[]) {
goto err2;
}
- // check for copy permission
- if (!doc->okToCopy()) {
- error(-1, "Copying of text from this document is not allowed.");
- exitCode = 3;
- goto err2;
- }
-
// construct text file name
if (argc == 3) {
textFileName = new GString(argv[2]);