summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-09-22 02:00:00 +0000
committerMike Gilbert <floppym@gentoo.org>2020-09-24 10:26:42 -0400
commit639c79c415ba90cb2fd24d5c962b7bfcdd4d85b5 (patch)
treeb67f4ed3e1f784aa5b4e950c4b737ad41d4aadc3 /dev-java
parentdev-java/protobuf-java: Delete old version (3.10.1). (diff)
downloadgentoo-639c79c415ba90cb2fd24d5c962b7bfcdd4d85b5.tar.gz
gentoo-639c79c415ba90cb2fd24d5c962b7bfcdd4d85b5.tar.bz2
gentoo-639c79c415ba90cb2fd24d5c962b7bfcdd4d85b5.zip
dev-java/protobuf-java: Apply patches in top-level source directory.
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/protobuf-java/protobuf-java-3.12.4.ebuild5
-rw-r--r--dev-java/protobuf-java/protobuf-java-3.13.0.ebuild5
-rw-r--r--dev-java/protobuf-java/protobuf-java-9999.ebuild5
3 files changed, 12 insertions, 3 deletions
diff --git a/dev-java/protobuf-java/protobuf-java-3.12.4.ebuild b/dev-java/protobuf-java/protobuf-java-3.12.4.ebuild
index 09a8150fe7e7..35d4c02ca085 100644
--- a/dev-java/protobuf-java/protobuf-java-3.12.4.ebuild
+++ b/dev-java/protobuf-java/protobuf-java-3.12.4.ebuild
@@ -39,7 +39,10 @@ if [[ "${PV}" == "9999" ]]; then
fi
src_prepare() {
- default
+ pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+ eapply_user
+ popd > /dev/null || die
+
java-pkg-2_src_prepare
}
diff --git a/dev-java/protobuf-java/protobuf-java-3.13.0.ebuild b/dev-java/protobuf-java/protobuf-java-3.13.0.ebuild
index 00495e65a87c..e26dfe9374b2 100644
--- a/dev-java/protobuf-java/protobuf-java-3.13.0.ebuild
+++ b/dev-java/protobuf-java/protobuf-java-3.13.0.ebuild
@@ -39,7 +39,10 @@ if [[ "${PV}" == "9999" ]]; then
fi
src_prepare() {
- default
+ pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+ eapply_user
+ popd > /dev/null || die
+
java-pkg-2_src_prepare
}
diff --git a/dev-java/protobuf-java/protobuf-java-9999.ebuild b/dev-java/protobuf-java/protobuf-java-9999.ebuild
index fe8374195d67..8f4365200b10 100644
--- a/dev-java/protobuf-java/protobuf-java-9999.ebuild
+++ b/dev-java/protobuf-java/protobuf-java-9999.ebuild
@@ -39,7 +39,10 @@ if [[ "${PV}" == "9999" ]]; then
fi
src_prepare() {
- default
+ pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+ eapply_user
+ popd > /dev/null || die
+
java-pkg-2_src_prepare
}