diff options
author | Jason Huebel <jhuebel@gentoo.org> | 2004-05-25 15:42:59 +0000 |
---|---|---|
committer | Jason Huebel <jhuebel@gentoo.org> | 2004-05-25 15:42:59 +0000 |
commit | bb0c069c317c386f6ac8a17e623957821878e547 (patch) | |
tree | 1a2365cf01677803c17db695ba694c0b61d83c20 /media-libs/tse3 | |
parent | Added to ~ppc (diff) | |
download | historical-bb0c069c317c386f6ac8a17e623957821878e547.tar.gz historical-bb0c069c317c386f6ac8a17e623957821878e547.tar.bz2 historical-bb0c069c317c386f6ac8a17e623957821878e547.zip |
patch for 64bit systems where size_t != unsigned int, ~amd64
Diffstat (limited to 'media-libs/tse3')
-rw-r--r-- | media-libs/tse3/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/tse3/Manifest | 5 | ||||
-rw-r--r-- | media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch | 25 | ||||
-rw-r--r-- | media-libs/tse3/tse3-0.2.7.ebuild | 7 |
4 files changed, 40 insertions, 6 deletions
diff --git a/media-libs/tse3/ChangeLog b/media-libs/tse3/ChangeLog index 62f2d710a491..bdf2ff6aa5cf 100644 --- a/media-libs/tse3/ChangeLog +++ b/media-libs/tse3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/tse3 -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/ChangeLog,v 1.3 2003/07/12 18:06:10 aliz Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/ChangeLog,v 1.4 2004/05/25 15:42:59 jhuebel Exp $ + + 25 May 2004; Jason Eric Huebel <jhuebel@gentoo.org> + +files/tse3-0.2.7-size_t-64bit.patch, tse3-0.2.7.ebuild: + patch for 64bit systems where size_t != unsigned int. provided by Evgeny + Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> *tse3-0.2.7 (15 Mar 2003) diff --git a/media-libs/tse3/Manifest b/media-libs/tse3/Manifest index 0ea4be6c13fd..bb2db8741a61 100644 --- a/media-libs/tse3/Manifest +++ b/media-libs/tse3/Manifest @@ -1,5 +1,6 @@ -MD5 77048a7285e599d003cecf73e7ca46ec ChangeLog 513 +MD5 1014f11d9a68150abc8bc52a75024bdf ChangeLog 757 MD5 9aeeb39b8072c883cc32ffa7ff915d41 tse3-0.2.5.ebuild 938 -MD5 915c05c3043340fc2ba29b2d38491db8 tse3-0.2.7.ebuild 942 +MD5 33196020c75a1e0e13853f8799e69941 tse3-0.2.7.ebuild 1031 MD5 43db7a6f8ef547d1b28951bb81a17542 files/digest-tse3-0.2.5 62 MD5 e5b12a211e5880ca3f3a11bd9ec606f4 files/digest-tse3-0.2.7 62 +MD5 2e294bceee345f0752585b8114b9f93a files/tse3-0.2.7-size_t-64bit.patch 1079 diff --git a/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch b/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch new file mode 100644 index 000000000000..fc30625efcfd --- /dev/null +++ b/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch @@ -0,0 +1,25 @@ +--- src/tse3/file/XML.h.orig 2002-07-28 18:17:11.000000000 +0300 ++++ src/tse3/file/XML.h 2004-04-25 14:51:56.000000000 +0300 +@@ -154,6 +154,7 @@ + void element(const std::string &name, const char *value); + void element(const std::string &name, int value); + void element(const std::string &name, unsigned int value); ++ void element(const std::string &name, size_t value); + void element(const std::string &name, bool value); + + void comment(const std::string &comment); +--- src/tse3/file/XML.cpp.orig 2002-07-28 18:17:11.000000000 +0300 ++++ src/tse3/file/XML.cpp 2004-04-25 14:54:01.000000000 +0300 +@@ -116,6 +116,12 @@ + out << "<" << name << " value=\"" << value << "\"/>\n"; + } + ++void TSE3::File::XmlFileWriter::element(const std::string &name, size_t value) ++{ ++ indent(out); ++ out << "<" << name << " value=\"" << value << "\"/>\n"; ++} ++ + + void TSE3::File::XmlFileWriter::element(const std::string &name, bool value) + { diff --git a/media-libs/tse3/tse3-0.2.7.ebuild b/media-libs/tse3/tse3-0.2.7.ebuild index a33206e552f6..cc8d6a44d2d9 100644 --- a/media-libs/tse3/tse3-0.2.7.ebuild +++ b/media-libs/tse3/tse3-0.2.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.2.7.ebuild,v 1.5 2004/03/19 07:56:05 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.2.7.ebuild,v 1.6 2004/05/25 15:42:59 jhuebel Exp $ DESCRIPTION="TSE3 Sequencer library" HOMEPAGE="http://TSE3.sourceforge.net/" @@ -8,13 +8,16 @@ SRC_URI="mirror://sourceforge/tse3/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc" +KEYWORDS="x86 ~ppc ~amd64" IUSE="alsa oss arts" DEPEND="alsa? ( media-libs/alsa-lib ) arts? ( kde-base/arts )" src_compile() { + # size_t patch for amd64 + use amd64 && epatch ${FILESDIR}/${P}-size_t-64bit.patch + local myconf="" use arts || myconf="$myconf --without-arts" |