diff options
author | Caleb Tennis <caleb@gentoo.org> | 2005-07-11 13:08:09 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2005-07-11 13:08:09 +0000 |
commit | 5f76c02e77fbe8646aa0870b0897f047005427e7 (patch) | |
tree | 3ee52ed70ae17c00138bdc9ce595174f38d2d8fa /kde-base/qtruby | |
parent | keyword x86 (diff) | |
download | gentoo-2-5f76c02e77fbe8646aa0870b0897f047005427e7.tar.gz gentoo-2-5f76c02e77fbe8646aa0870b0897f047005427e7.tar.bz2 gentoo-2-5f76c02e77fbe8646aa0870b0897f047005427e7.zip |
Add a patch which fixes QString memory leak
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'kde-base/qtruby')
-rw-r--r-- | kde-base/qtruby/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/qtruby/Manifest | 13 | ||||
-rw-r--r-- | kde-base/qtruby/files/digest-qtruby-3.4.1-r1 | 3 | ||||
-rw-r--r-- | kde-base/qtruby/files/qtruby-3.4.1-handlers.diff | 11 | ||||
-rw-r--r-- | kde-base/qtruby/qtruby-3.4.1-r1.ebuild | 30 |
5 files changed, 59 insertions, 6 deletions
diff --git a/kde-base/qtruby/ChangeLog b/kde-base/qtruby/ChangeLog index 59bdd35dec7e..5432eb09fe31 100644 --- a/kde-base/qtruby/ChangeLog +++ b/kde-base/qtruby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/qtruby # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.13 2005/07/09 19:12:20 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.14 2005/07/11 13:08:09 caleb Exp $ + +*qtruby-3.4.1-r1 (11 Jul 2005) + + 11 Jul 2005; Caleb Tennis <caleb@gentoo.org> + +files/qtruby-3.4.1-handlers.diff, +qtruby-3.4.1-r1.ebuild: + Add a patch which fixes QString memory leak 09 Jul 2005; Jason Wever <weeve@gentoo.org> qtruby-3.4.1.ebuild: Added ~sparc keyword. diff --git a/kde-base/qtruby/Manifest b/kde-base/qtruby/Manifest index e2039d9a8295..d995a2cba627 100644 --- a/kde-base/qtruby/Manifest +++ b/kde-base/qtruby/Manifest @@ -1,9 +1,12 @@ -MD5 a12535253e338624248edf2b2c94bf4c ChangeLog 2357 -MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 MD5 f779f6e536cce7bf41cb1d9c9299dc75 qtruby-3.3.2-r1.ebuild 964 -MD5 625c8b975663e4e7c3e0c712ac1682ae qtruby-3.4.0.ebuild 921 MD5 baacbf2d0922839852335524bb6aeea0 qtruby-3.4.1.ebuild 926 -MD5 c4bcc944c1ceb822f4ecd9b288d77bef files/digest-qtruby-3.3.2-r1 71 +MD5 73baa7d20fa3bd92b696c24b1c73e08f qtruby-3.4.1-r1.ebuild 963 +MD5 625c8b975663e4e7c3e0c712ac1682ae qtruby-3.4.0.ebuild 921 +MD5 a12535253e338624248edf2b2c94bf4c ChangeLog 2357 +MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 +MD5 ffe26fb6d5d193883dfebd69250df2e5 files/no-gtk-glib-check.diff 949 +MD5 d859fab9468c7c54cc414ab700d5a16c files/qtruby-3.4.1-handlers.diff 379 MD5 b49bfb02ebaf3b34e2e5c4c5750429d6 files/digest-qtruby-3.4.0 71 MD5 6a7b860a285423d0fc6516e274fcaaea files/digest-qtruby-3.4.1 221 -MD5 ffe26fb6d5d193883dfebd69250df2e5 files/no-gtk-glib-check.diff 949 +MD5 c4bcc944c1ceb822f4ecd9b288d77bef files/digest-qtruby-3.3.2-r1 71 +MD5 6a7b860a285423d0fc6516e274fcaaea files/digest-qtruby-3.4.1-r1 221 diff --git a/kde-base/qtruby/files/digest-qtruby-3.4.1-r1 b/kde-base/qtruby/files/digest-qtruby-3.4.1-r1 new file mode 100644 index 000000000000..5b7e04575b24 --- /dev/null +++ b/kde-base/qtruby/files/digest-qtruby-3.4.1-r1 @@ -0,0 +1,3 @@ +MD5 bac87a665ce5e5704f48336122052fb4 kdebindings-3.4.0.tar.bz2 7161497 +MD5 454af86dd8b9cd81b3beb31bd0260fdf kdebindings-3.4.0-3.4.1.tar.xdelta 792004 +MD5 18a4e2c42d34bb86279e691498482951 kdebindings-3.4.1.tar.bz2 7219233 diff --git a/kde-base/qtruby/files/qtruby-3.4.1-handlers.diff b/kde-base/qtruby/files/qtruby-3.4.1-handlers.diff new file mode 100644 index 000000000000..f08de991f4ac --- /dev/null +++ b/kde-base/qtruby/files/qtruby-3.4.1-handlers.diff @@ -0,0 +1,11 @@ +--- qtruby/rubylib/qtruby/handlers.cpp 2005/05/30 01:00:52 419599 ++++ qtruby/rubylib/qtruby/handlers.cpp 2005/07/09 11:46:54 433005 +@@ -863,7 +863,7 @@ + } else { + *(m->var()) = rstringFromQString(s); + } +- if(m->cleanup()) ++ if(m->cleanup() || m->type().isStack()) + delete s; + } else { + *(m->var()) = Qnil; diff --git a/kde-base/qtruby/qtruby-3.4.1-r1.ebuild b/kde-base/qtruby/qtruby-3.4.1-r1.ebuild new file mode 100644 index 000000000000..e9804377749b --- /dev/null +++ b/kde-base/qtruby/qtruby-3.4.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/qtruby-3.4.1-r1.ebuild,v 1.1 2005/07/11 13:08:09 caleb Exp $ + +KMNAME=kdebindings +KMCOPYLIB="libsmokeqt smoke/qt" +KM_MAKEFILESREV=1 +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta + +DESCRIPTION="Ruby bindings for QT" +HOMEPAGE="http://developer.kde.org/language-bindings/ruby/" + +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" +DEPEND=" >=virtual/ruby-1.8 +$(deprange $PV $MAXKDEVER kde-base/smoke)" + +PATCHES="$FILESDIR/no-gtk-glib-check.diff $FILESDIR/qtruby-3.4.1-handlers.diff" + +# Because this installs into /usr/lib/ruby/..., it doesn't have SLOT=X.Y like the rest of KDE, +# and it installs into /usr entirely. +# Note that it still depends on a specific range of (slotted) smoke versions. +SLOT="0" +src_compile() { + kde_src_compile myconf + myconf="$myconf --prefix=/usr" + kde_src_compile configure make +} |