summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-06-09 14:27:39 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-12 09:06:38 +0200
commitd0685c963bcb2884c36207ca06b72e07b4692c59 (patch)
treef8b3892dc4f660235ebbf4099b8794a6fd1591c8 /app-text/pdftk
parentdev-python/jellyfish: Stabilize 1.0.4 arm64, #934104 (diff)
downloadgentoo-d0685c963bcb2884c36207ca06b72e07b4692c59.tar.gz
gentoo-d0685c963bcb2884c36207ca06b72e07b4692c59.tar.bz2
gentoo-d0685c963bcb2884c36207ca06b72e07b4692c59.zip
app-text/pdftk: pdftk-9999-bc176.patch
Bug: https://bugs.gentoo.org/923598 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37095 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/Manifest1
-rw-r--r--app-text/pdftk/pdftk-9999.ebuild7
2 files changed, 7 insertions, 1 deletions
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest
index 45b3d4201b76..fc3d7b14b764 100644
--- a/app-text/pdftk/Manifest
+++ b/app-text/pdftk/Manifest
@@ -1,2 +1,3 @@
DIST pdftk-3.3.3_p20231025.tar.bz2 2246135 BLAKE2B 641a8947d7be2a219b1deb4619f8ea201b8c0616ca50cc1cc1b4363050d16a7b622437f2b75236373f27ed2539f975c081f4f95a09163656d0e130969a5f4b7e SHA512 7745a161e788af2538a1e45e49c3342b8d1496cfec1079b51d4efed66440ce07a27657623ffb59d3078aa9ee964e77cbe3f8258d7d699938c59e9c6a2980f51b
+DIST pdftk-9999-bc176.patch 5016 BLAKE2B 1cdde6aa5fddf28a1fac6f52a40592993139ae19d6895421d36c2df61ad3f7ee2b5a2a8014be0da06e6953427933c152050ea6e5497a9844c5639851cbb0d77a SHA512 405576c55594ae1862eb4ebc9a1ca605fa33320b36672f2c0028257badfa666d0e7e5f1a5ef20e817824ace531a795799010befe709111f87c535353f1199b96
DIST pdftk-v3.3.3.tar.bz2 2205902 BLAKE2B 7802554cef4389670392ca2fda3dc4c041943ad21ecf47cfcd333dc1f0899796fabf9538388586f4e64a8a1fa5d7278a93f9e88c19a1ec510b24b85027888ad4 SHA512 48173d0c4698bc984221b56dff3e6434df7cf144dddfdbf684f8fa28b9eacfd0ebf9ebca0b87df3f9534a1ed13caa4c0866bd3e7a8cd06a21b46dfaedda9ea21
diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild
index de47cd90e2c1..9d2e3ead20b2 100644
--- a/app-text/pdftk/pdftk-9999.ebuild
+++ b/app-text/pdftk/pdftk-9999.ebuild
@@ -15,6 +15,8 @@ HOMEPAGE="https://gitlab.com/pdftk-java/pdftk"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/pdftk-java/pdftk/"
+ SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/commit/3f1918c831c919d0a8fcf18c36cf40118398b995.patch ->
+ ${P}-bc176.patch"
S="${WORKDIR}/pdftk-${PV}"
else
SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2"
@@ -27,7 +29,7 @@ SLOT="0"
# Switch back to bcprov:0 once pdftk updates its bcprov dependency.
CP_DEPEND="
- dev-java/bcprov:1.74
+ dev-java/bcprov:0
dev-java/commons-lang:3.6
"
@@ -46,6 +48,8 @@ RDEPEND="
DOCS=( CHANGELOG.md README.md )
+PATCHES=( "${DISTDIR}/pdftk-9999-bc176.patch" )
+
JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk"
JAVA_RESOURCE_DIRS="resources/java"
JAVA_SRC_DIR="java"
@@ -54,6 +58,7 @@ JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules"
JAVA_TEST_SRC_DIR="test"
src_prepare() {
+ default #780585
java-pkg-2_src_prepare
mkdir resources || die
cp -r {,resources/}java || die