summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jgoodies-looks')
-rw-r--r--dev-java/jgoodies-looks/ChangeLog7
-rw-r--r--dev-java/jgoodies-looks/files/jgoodies-looks-2.1.4-configureEditor.patch12
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.1.4.ebuild7
3 files changed, 23 insertions, 3 deletions
diff --git a/dev-java/jgoodies-looks/ChangeLog b/dev-java/jgoodies-looks/ChangeLog
index acf93fa80ea8..7d72bc6e27da 100644
--- a/dev-java/jgoodies-looks/ChangeLog
+++ b/dev-java/jgoodies-looks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jgoodies-looks
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/ChangeLog,v 1.34 2007/11/19 18:12:06 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/ChangeLog,v 1.35 2007/12/09 15:02:27 nelchael Exp $
+
+ 09 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/jgoodies-looks-2.1.4-configureEditor.patch,
+ jgoodies-looks-2.1.4.ebuild:
+ Add patch to fix compiling on ppc, stable on ppc, bug #199254.
19 Nov 2007; William L. Thomson Jr. <wltjr@gentoo.org>
jgoodies-looks-2.1.4.ebuild:
diff --git a/dev-java/jgoodies-looks/files/jgoodies-looks-2.1.4-configureEditor.patch b/dev-java/jgoodies-looks/files/jgoodies-looks-2.1.4-configureEditor.patch
new file mode 100644
index 000000000000..e639c409ba41
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/jgoodies-looks-2.1.4-configureEditor.patch
@@ -0,0 +1,12 @@
+diff -Nru looks-2.1.4.vanilla/src/core/com/jgoodies/looks/windows/WindowsComboBoxUI.java looks-2.1.4/src/core/com/jgoodies/looks/windows/WindowsComboBoxUI.java
+--- looks-2.1.4.vanilla/src/core/com/jgoodies/looks/windows/WindowsComboBoxUI.java 2007-12-09 15:55:24.000000000 +0100
++++ looks-2.1.4/src/core/com/jgoodies/looks/windows/WindowsComboBoxUI.java 2007-12-09 15:56:04.000000000 +0100
+@@ -155,7 +155,7 @@
+ }
+
+
+- protected void configureEditor() {
++ public void configureEditor() {
+ super.configureEditor();
+ if (!comboBox.isEnabled()) {
+ editor.setBackground(UIManager.getColor("ComboBox.disabledBackground"));
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.1.4.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.1.4.ebuild
index 644471058a5a..bba27803253f 100644
--- a/dev-java/jgoodies-looks/jgoodies-looks-2.1.4.ebuild
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.1.4.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/jgoodies-looks/jgoodies-looks-2.1.4.ebuild,v 1.3 2007/11/19 18:12:06 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/jgoodies-looks-2.1.4.ebuild,v 1.4 2007/12/09 15:02:27 nelchael Exp $
JAVA_PKG_IUSE="doc source"
@@ -15,7 +15,7 @@ SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
LICENSE="BSD"
SLOT="2.0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4
@@ -39,6 +39,9 @@ src_unpack() {
rm -v *.jar demo/*.jar lib/*.jar || die
rm -rv docs/api || die
+
+ epatch "${FILESDIR}/${P}-configureEditor.patch"
+
}
src_compile() {