openbsd-ports/textproc/xpdf/patches/patch-xpdf_pdfimages_cc
brad 774e18ab50 remove DRM bullshit.
--
From: cloder@
2003-10-24 19:31:57 +00:00

18 lines
507 B
Plaintext

$OpenBSD: patch-xpdf_pdfimages_cc,v 1.1 2003/10/24 19:31:57 brad Exp $
--- xpdf/pdfimages.cc.orig 2003-10-23 22:57:28.000000000 -0700
+++ xpdf/pdfimages.cc 2003-10-23 22:57:36.000000000 -0700
@@ -118,13 +118,6 @@ int main(int argc, char *argv[]) {
goto err1;
}
- // check for copy permission
- if (!doc->okToCopy()) {
- error(-1, "Copying of images from this document is not allowed.");
- exitCode = 3;
- goto err1;
- }
-
// get page range
if (firstPage < 1)
firstPage = 1;