commit:     6d89e95ce4e23156da050d53a6221bd9fc61c56f
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Tue Apr 10 21:53:41 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 21:03:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d89e95c

dev-java/jmi-interface: eapply->epatch.

Reformatted the patch to apply with -p1.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-java/jmi-interface/files/jmi-interface-1.0-enum.patch | 10 ++++------
 dev-java/jmi-interface/jmi-interface-1.0-r5.ebuild        |  2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-java/jmi-interface/files/jmi-interface-1.0-enum.patch 
b/dev-java/jmi-interface/files/jmi-interface-1.0-enum.patch
index ba12af789cb..a74dfd4d446 100644
--- a/dev-java/jmi-interface/files/jmi-interface-1.0-enum.patch
+++ b/dev-java/jmi-interface/files/jmi-interface-1.0-enum.patch
@@ -1,6 +1,5 @@
-diff -Naur src/javax/jmi/reflect/RefClass.java 
src2/javax/jmi/reflect/RefClass.java
---- src/javax/jmi/reflect/RefClass.java        2006-12-09 00:45:59.000000000 
+0100
-+++ src/javax/jmi/reflect/RefClass.java        2002-05-02 13:44:42.000000000 
+0200
+--- a/src/javax/jmi/reflect/RefClass.java
++++ b/src/javax/jmi/reflect/RefClass.java
 @@ -8,6 +8,6 @@
      public Collection refAllOfClass();
      public RefStruct refCreateStruct(RefObject struct, List params);
@@ -10,9 +9,8 @@ diff -Naur src/javax/jmi/reflect/RefClass.java 
src2/javax/jmi/reflect/RefClass.j
      public RefEnum refGetEnum(String enumName, String name);
  }
 \ No newline at end of file
-diff -Naur src/javax/jmi/reflect/RefPackage.java 
src2/javax/jmi/reflect/RefPackage.java
---- src/javax/jmi/reflect/RefPackage.java      2006-12-09 00:46:08.000000000 
+0100
-+++ src/javax/jmi/reflect/RefPackage.java      2002-05-02 13:44:16.000000000 
+0200
+--- a/src/javax/jmi/reflect/RefPackage.java
++++ b/src/javax/jmi/reflect/RefPackage.java
 @@ -14,7 +14,7 @@
      public Collection refAllAssociations();
      public RefStruct refCreateStruct(RefObject struct, List params);

diff --git a/dev-java/jmi-interface/jmi-interface-1.0-r5.ebuild 
b/dev-java/jmi-interface/jmi-interface-1.0-r5.ebuild
index 2f8d24bf984..76b58a2abf2 100644
--- a/dev-java/jmi-interface/jmi-interface-1.0-r5.ebuild
+++ b/dev-java/jmi-interface/jmi-interface-1.0-r5.ebuild
@@ -42,7 +42,7 @@ src_prepare() {
 
        # rename enum keywords because javadoc hates them
        # even with -source 1.4, bummer
-       epatch "${FILESDIR}/${P}-enum.patch"
+       eapply "${FILESDIR}/${P}-enum.patch"
 }
 
 src_compile() {

Reply via email to