- disable the DRM bits from KPDF like it was done for xpdf
from brad@
This commit is contained in:
parent
3f4a7954ad
commit
62b275629a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.80 2008/04/11 11:24:03 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.81 2008/05/21 09:46:18 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= K Desktop Environment, graphic applications
|
||||
COMMENT-kamera= KDE interface to digital cameras
|
||||
@ -14,7 +14,7 @@ SEPARATE_BUILD=flavored
|
||||
MULTI_PACKAGES=-main -kpov -kamera -sane
|
||||
PKGNAME=${DISTNAME}
|
||||
|
||||
PKGNAME-main= ${DISTNAME}p0
|
||||
PKGNAME-main= ${DISTNAME}p1
|
||||
PKGNAME-kamera= kamera-${VERSION}
|
||||
PKGNAME-kpov= kpovmodeller-${VERSION}
|
||||
PKGNAME-sane= ksane-${VERSION}
|
||||
|
27
x11/kde/graphics3/patches/patch-kpdf_xpdf_xpdf_XRef_cc
Normal file
27
x11/kde/graphics3/patches/patch-kpdf_xpdf_xpdf_XRef_cc
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-kpdf_xpdf_xpdf_XRef_cc,v 1.1 2008/05/21 09:46:18 ajacoutot Exp $
|
||||
--- kpdf/xpdf/xpdf/XRef.cc.orig Fri Apr 25 18:17:39 2008
|
||||
+++ kpdf/xpdf/xpdf/XRef.cc Fri Apr 25 18:18:22 2008
|
||||
@@ -771,19 +771,19 @@ void XRef::setEncryption(int permFlagsA, GBool ownerPa
|
||||
}
|
||||
|
||||
GBool XRef::okToPrint(GBool ignoreOwnerPW) {
|
||||
- return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permPrint);
|
||||
+ return (1);
|
||||
}
|
||||
|
||||
GBool XRef::okToChange(GBool ignoreOwnerPW) {
|
||||
- return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permChange);
|
||||
+ return (1);
|
||||
}
|
||||
|
||||
GBool XRef::okToCopy(GBool ignoreOwnerPW) {
|
||||
- return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permCopy);
|
||||
+ return (1);
|
||||
}
|
||||
|
||||
GBool XRef::okToAddNotes(GBool ignoreOwnerPW) {
|
||||
- return (!ignoreOwnerPW && ownerPasswordOk) || (permFlags & permNotes);
|
||||
+ return (1);
|
||||
}
|
||||
|
||||
Object *XRef::fetch(int num, int gen, Object *obj) {
|
Loading…
x
Reference in New Issue
Block a user