$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]);
