summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/bt747/bt747-2.1.7-r2.ebuild4
-rw-r--r--sci-geosciences/bt747/files/jchart2d-3.2.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild
index 4e7c78038fa..72062ed3a7c 100644
--- a/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild
+++ b/sci-geosciences/bt747/bt747-2.1.7-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit epatch java-pkg-2 java-ant-2
+inherit desktop java-pkg-2 java-ant-2
DESCRIPTION="MTK GPS Datalogger Device Control"
HOMEPAGE="https://www.bt747.org"
@@ -46,7 +46,7 @@ S="${WORKDIR}"
src_prepare() {
# Fix for newer jchart2d.
- epatch "${FILESDIR}/jchart2d-3.2.patch"
+ eapply "${FILESDIR}/jchart2d-3.2.patch"
# Remove all the bundled stuff.
rm -rv dist/ lib/ || die
diff --git a/sci-geosciences/bt747/files/jchart2d-3.2.patch b/sci-geosciences/bt747/files/jchart2d-3.2.patch
index 8f81a5a4a59..c1dfe9fb285 100644
--- a/sci-geosciences/bt747/files/jchart2d-3.2.patch
+++ b/sci-geosciences/bt747/files/jchart2d-3.2.patch
@@ -1,5 +1,5 @@
---- src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java.orig 2010-03-08 22:15:41.000000000 +0000
-+++ src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java 2016-02-10 22:17:02.188118721 +0000
+--- a/src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java
++++ b/src_j2se/net/sf/bt747/j2se/app/trackgraph/TrackDisplay.java
@@ -46,9 +46,9 @@
heightAxis.getAxisTitle().setTitle("Height");
speedAxis.getAxisTitle().setTitle("Speed");