diff options
Diffstat (limited to 'www-client/kazehakase')
-rw-r--r-- | www-client/kazehakase/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/kazehakase/files/kazehakase-0.5.3-gcc43.patch | 26 | ||||
-rw-r--r-- | www-client/kazehakase/kazehakase-0.5.3.ebuild | 58 |
3 files changed, 92 insertions, 1 deletions
diff --git a/www-client/kazehakase/ChangeLog b/www-client/kazehakase/ChangeLog index 2d3d9b912ca2..1f31922cd885 100644 --- a/www-client/kazehakase/ChangeLog +++ b/www-client/kazehakase/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/kazehakase # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/kazehakase/ChangeLog,v 1.55 2008/02/24 15:54:16 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/kazehakase/ChangeLog,v 1.56 2008/02/29 15:43:21 matsuu Exp $ + +*kazehakase-0.5.3 (29 Feb 2008) + + 29 Feb 2008; MATSUU Takuto <matsuu@gentoo.org> + +files/kazehakase-0.5.3-gcc43.patch, +kazehakase-0.5.3.ebuild: + Version bumped. + Fixed gcc 4.3 issue, bug #211840. *kazehakase-0.5.2 (24 Feb 2008) diff --git a/www-client/kazehakase/files/kazehakase-0.5.3-gcc43.patch b/www-client/kazehakase/files/kazehakase-0.5.3-gcc43.patch new file mode 100644 index 000000000000..fc3a231480f4 --- /dev/null +++ b/www-client/kazehakase/files/kazehakase-0.5.3-gcc43.patch @@ -0,0 +1,26 @@ +diff -Naur kazehakase-0.5.3.orig/macros/gecko.m4 kazehakase-0.5.3/macros/gecko.m4 +--- kazehakase-0.5.3.orig/macros/gecko.m4 2008-02-29 22:49:26.000000000 +0900 ++++ kazehakase-0.5.3/macros/gecko.m4 2008-03-01 00:18:17.000000000 +0900 +@@ -30,7 +30,7 @@ + AM_CXXFLAGS=$_SAVE_AM_CXXFLAGS + fi + +-CPPFLAGS="-I$MOZILLA_INCLUDE_ROOT -I$MOZILLA_INCLUDE_ROOT/widget -I$MOZILLA_INCLUDE_ROOT/layout -I$MOZILLA_INCLUDE_ROOT/helperAppDlg -I$MOZILLA_INCLUDE_ROOT/dom -I$MOZILLA_INCLUDE_ROOT/exthandler -I$MOZILLA_INCLUDE_ROOT/pipnss -I$MOZILLA_INCLUDE_ROOT/necko -I$MOZILLA_INCLUDE_ROOT/gfx -I$MOZILLA_INCLUDE_ROOT/content -I$MOZILLA_INCLUDE_ROOT/locale -I$MOZILLA_INCLUDE_ROOT/docshell -I$MOZILLA_INCLUDE_ROOT/mimetype -I$MOZILLA_INCLUDE_ROOT/nkcache `$PKG_CONFIG --cflags-only-I $GECKO_MODULE` -Wconversion -Wsign-compare -Werror" ++CPPFLAGS="-I$MOZILLA_INCLUDE_ROOT -I$MOZILLA_INCLUDE_ROOT/widget -I$MOZILLA_INCLUDE_ROOT/layout -I$MOZILLA_INCLUDE_ROOT/helperAppDlg -I$MOZILLA_INCLUDE_ROOT/dom -I$MOZILLA_INCLUDE_ROOT/exthandler -I$MOZILLA_INCLUDE_ROOT/pipnss -I$MOZILLA_INCLUDE_ROOT/necko -I$MOZILLA_INCLUDE_ROOT/gfx -I$MOZILLA_INCLUDE_ROOT/content -I$MOZILLA_INCLUDE_ROOT/locale -I$MOZILLA_INCLUDE_ROOT/docshell -I$MOZILLA_INCLUDE_ROOT/mimetype -I$MOZILLA_INCLUDE_ROOT/nkcache `$PKG_CONFIG --cflags-only-I $GECKO_MODULE`" + CXXFLAGS="$AM_CXXFLAGS `$PKG_CONFIG --cflags-only-other $GECKO_MODULE`" + if test "x$GCC" = "xyes"; then + gxx_version=`g++ -dumpversion` +@@ -158,9 +158,11 @@ + + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( +- [[#include <nsIHelperAppLauncherDialog.h>]], ++ [[#include <nsIHelperAppLauncherDialog.h> ++ class convert { private: operator PRUint32(); public: operator PRBool(); };]], + [[nsIHelperAppLauncherDialog *p; +- p->Show (nsnull, nsnull, -1);]] ++ convert *c; ++ p->Show(nsnull, nsnull, *c);]] + )], + [AC_DEFINE([MOZ_NSIHELPERAPPLAUNCHERDIALOG_NSPRBOOL_],[1],[Define if nsIHelperAppLauncharDialog uses PRBool]) result=yes], + [result=no]) diff --git a/www-client/kazehakase/kazehakase-0.5.3.ebuild b/www-client/kazehakase/kazehakase-0.5.3.ebuild new file mode 100644 index 000000000000..b6c70bf075a0 --- /dev/null +++ b/www-client/kazehakase/kazehakase-0.5.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/kazehakase/kazehakase-0.5.3.ebuild,v 1.1 2008/02/29 15:43:21 matsuu Exp $ + +inherit autotools eutils flag-o-matic + +IUSE="hyperestraier migemo ruby ssl" + +DESCRIPTION="a browser with gecko engine like Epiphany or Galeon." +SRC_URI="mirror://sourceforge.jp/${PN}/29695/${P}.tar.gz" +HOMEPAGE="http://kazehakase.sourceforge.jp/" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +LICENSE="GPL-2" + +DEPEND=">=x11-libs/gtk+-2.12 + || ( + >=www-client/mozilla-firefox-1.0.2-r1 + >=www-client/seamonkey-1.0 + >=mail-client/mozilla-thunderbird-0.8 + >=net-libs/xulrunner-1.8 + ) + ssl? ( >=net-libs/gnutls-1.2.0 ) + ruby? ( dev-ruby/ruby-gtk2 dev-ruby/ruby-gettext ) + hyperestraier? ( >=app-text/hyperestraier-1.2 )" + +RDEPEND="${DEPEND} + migemo? ( app-text/migemo )" + +DEPEND="${DEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch + AT_M4DIR=macros eautoreconf +} + +src_compile(){ + local myconf + + # Bug 159949 + replace-flags -Os -O2 + + myconf="${myconf} $(use_enable migemo)" + use ruby || myconf="${myconf} --with-ruby=no --with-rgettext=no" + use ssl || myconf="${myconf} --disable-ssl" + + econf ${myconf} || die + emake || die +} + +src_install(){ + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README* TODO* +} |