Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 285761 Details for
Bug 348861
app-text/pdftk-1.44: nodrm patch missing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pdftk nodrm patch
pdftk-1.44-348861.patch (text/plain), 1.12 KB, created by
Mao PU
on 2011-09-07 06:53:24 UTC
(
hide
)
Description:
pdftk nodrm patch
Filename:
MIME Type:
Creator:
Mao PU
Created:
2011-09-07 06:53:24 UTC
Size:
1.12 KB
patch
obsolete
>--- /usr/portage/app-text/pdftk/files/pdftk-1.44-nodrm.patch 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/portage/app-text/pdftk/files/pdftk-1.44-nodrm.patch 2011-09-07 08:35:37.000000000 +0200 >@@ -0,0 +1,11 @@ >+--- pdftk-1.44-dist/pdftk/pdftk.cc >++++ pdftk-1.44-dist/pdftk/pdftk.cc >+@@ -193,7 +193,7 @@ >+ // store in this java object so the gc can trace it >+ g_dont_collect_p->addElement( reader ); >+ >+- input_pdf_p->m_authorized_b= ( !reader->encrypted || reader->passwordIsOwner ); >++ input_pdf_p->m_authorized_b= true; >+ if( !input_pdf_p->m_authorized_b ) { >+ open_success_b= false; >+ } >--- /usr/portage/app-text/pdftk/pdftk-1.44.ebuild 2011-06-08 21:01:05.000000000 +0200 >+++ /usr/portage/app-text/pdftk/pdftk-1.44.ebuild 2011-09-07 08:38:33.000000000 +0200 >@@ -13,7 +13,7 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="amd64 ~ppc x86" >-IUSE="" >+IUSE="nodrm" > DEPEND=">=sys-devel/gcc-4.3.1[gcj]" > RDEPEND="${DEPEND}" > >@@ -22,6 +22,9 @@ > src_prepare() { > epatch "${FILESDIR}/${P}-Makefile.patch" > epatch "${FILESDIR}/${P}-LDFLAGS.patch" >+ if use nodrm ; then >+ epatch "${FILESDIR}/${P}-nodrm.patch" >+ fi > } > > src_compile() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 348861
: 285761