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

18 lines
523 B
Plaintext

$OpenBSD: patch-xpdf_pdftops_cc,v 1.1 2003/10/24 19:31:57 brad Exp $
--- xpdf/pdftops.cc.orig 2003-10-23 22:55:51.000000000 -0700
+++ xpdf/pdftops.cc 2003-10-23 22:56:02.000000000 -0700
@@ -242,13 +242,6 @@ int main(int argc, char *argv[]) {
goto err1;
}
- // check for print permission
- if (!doc->okToPrint()) {
- error(-1, "Printing this document is not allowed.");
- exitCode = 3;
- goto err1;
- }
-
// construct PostScript file name
if (argc == 3) {
psFileName = new GString(argv[2]);