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