summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/randomguid')
-rw-r--r--dev-java/randomguid/ChangeLog7
-rw-r--r--dev-java/randomguid/files/1.2.1-examples-package.patch11
-rw-r--r--dev-java/randomguid/randomguid-1.2.1-r1.ebuild4
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-java/randomguid/ChangeLog b/dev-java/randomguid/ChangeLog
index e0fb5e85216c..0306ef806d3e 100644
--- a/dev-java/randomguid/ChangeLog
+++ b/dev-java/randomguid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/randomguid
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.16 2007/08/27 15:44:12 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.17 2007/08/27 15:52:29 betelgeuse Exp $
+
+ 27 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/1.2.1-examples-package.patch, randomguid-1.2.1-r1.ebuild:
+ Patch the examples for the new fully qualified class name. Thanks to Kenneth
+ Prugh <ken69267@gmail.com> in bug #189330.
27 Aug 2007; Christoph Mende <angelos@gentoo.org>
randomguid-1.2.1-r1.ebuild:
diff --git a/dev-java/randomguid/files/1.2.1-examples-package.patch b/dev-java/randomguid/files/1.2.1-examples-package.patch
new file mode 100644
index 000000000000..95e82d7ea3fb
--- /dev/null
+++ b/dev-java/randomguid/files/1.2.1-examples-package.patch
@@ -0,0 +1,11 @@
+--- /usr/share/doc/randomguid-1.2.1-r1/RandomGUIDdemo.java.orig 2007-08-19 18:19:21.000000000 -0400
++++ RandomGUIDdemo.java 2007-08-19 18:14:45.000000000 -0400
+@@ -4,7 +4,7 @@
+ // Generate 20 of 'em!
+ public static void main(String[] args) {
+ for(int i=1; i<=20; i++) {
+- RandomGUID myguid = new RandomGUID(false);
++ com.javaexchange.RandomGUID myguid = new com.javaexchange.RandomGUID(false);
+ System.out.println(i + " " + myguid.toString());
+ }
+ }
diff --git a/dev-java/randomguid/randomguid-1.2.1-r1.ebuild b/dev-java/randomguid/randomguid-1.2.1-r1.ebuild
index edffc12578b7..2e3d5e7d9062 100644
--- a/dev-java/randomguid/randomguid-1.2.1-r1.ebuild
+++ b/dev-java/randomguid/randomguid-1.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/randomguid-1.2.1-r1.ebuild,v 1.4 2007/08/27 15:44:12 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/randomguid-1.2.1-r1.ebuild,v 1.5 2007/08/27 15:52:29 betelgeuse Exp $
inherit java-pkg-2
@@ -24,6 +24,8 @@ src_compile() {
# com.javaexchange package. This is necessary to prevent
# class lookup failures, such as when used with Tomcat
# (which has a different <default> package for JSP files).
+
+ epatch "${FILESDIR}/1.2.1-examples-package.patch"
cd com/javaexchange
echo >RandomGUID.java "package com.javaexchange;"
cat RandomGUID.java~ >>RandomGUID.java