A fix for kalpytus to work with qt-4.1.3 and use -j1 per bug #132584
authorCaleb Tennis <caleb@gentoo.org>
Wed, 21 Jun 2006 14:49:27 +0000 (14:49 +0000)
committerCaleb Tennis <caleb@gentoo.org>
Wed, 21 Jun 2006 14:49:27 +0000 (14:49 +0000)
Package-Manager: portage-2.1.1_pre1-r1

dev-ruby/qt4-qtruby/ChangeLog
dev-ruby/qt4-qtruby/files/kalyptus-fix.diff [new file with mode: 0644]
dev-ruby/qt4-qtruby/qt4-qtruby-1.4.5.ebuild

index 072d1c5345ab16d4b16c541d596cb9178c8b609a..02b77c5dd2292b8c38c8195105a22a90bb898807 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-ruby/qt4-qtruby
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.3 2006/06/13 12:46:11 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.4 2006/06/21 14:49:27 caleb Exp $
+
+  21 Jun 2006; Caleb Tennis <caleb@gentoo.org> +files/kalyptus-fix.diff,
+  -files/style-fix.diff, qt4-qtruby-1.4.5.ebuild:
+  A fix for kalpytus to work with qt-4.1.3 and use -j1 per bug #132584
 
   13 Jun 2006; Caleb Tennis <caleb@gentoo.org> +files/style-fix.diff,
   qt4-qtruby-1.4.5.ebuild:
diff --git a/dev-ruby/qt4-qtruby/files/kalyptus-fix.diff b/dev-ruby/qt4-qtruby/files/kalyptus-fix.diff
new file mode 100644 (file)
index 0000000..c6bfe36
--- /dev/null
@@ -0,0 +1,11 @@
+--- kalyptus/kalyptus  2006-04-20 14:29:57.000000000 -0400
++++ kalyptus/kalyptus.orig     2006-06-21 10:25:16.000000000 -0400
+@@ -462,6 +462,8 @@
+               $p =~ s/QT_MODULE\(\w+\)//;
+               $p =~ s/QT_STATIC_CONST/static const/;
+               $p =~ s/QT_WEAK_SYMBOL//;
++              $p =~ s/QT_BEGIN_HEADER//;
++              $p =~ s/QT_END_HEADER//;
+               $p =~ s/QT_MOC_COMPAT//;
+               $p =~ s/Q_EXPORT_CODECS_BIG5//;
+               $p =~ s/QT_COMPAT / /;
index 9faf2fb6ef0d339b0ea82b222038699bc2f46508..ceecd3ef3dfb79a6d25362b6395e250c54980463 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.5.ebuild,v 1.6 2006/06/13 12:46:11 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.5.ebuild,v 1.7 2006/06/21 14:49:27 caleb Exp $
 
 inherit toolchain-funcs eutils
 
@@ -22,7 +22,7 @@ SLOT="0"
 src_unpack() {
        unpack $A
        cd ${S}
-       epatch ${FILESDIR}/style-fix.diff
+       epatch ${FILESDIR}/kalyptus-fix.diff
 }
 
 
@@ -30,7 +30,7 @@ src_compile() {
        myconf="--with-qt-dir=/usr --with-qt-libraries=/usr/$(get_libdir)/qt4 --with-qt-includes=/usr/include/qt4"
        myconf="${myconf} --with-threshold=5"
        econf ${myconf} || die
-       emake || die
+       emake -j1 || die
 }
 
 src_install() {