--- java-gnome-4.0.7.ebuild.orig 2008-06-02 23:34:25.000000000 -0700 +++ java-gnome-4.0.7.ebuild 2008-06-02 23:34:09.000000000 -0700 @@ -32,6 +32,9 @@ RESTRICT="test" src_compile() { + # gcc does not support these command-line options + sed -i "s/ -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast//" configure + # Handwritten in perl so not using econf ./configure --prefix=/usr || die