summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-13 13:50:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-13 13:50:19 +0000
commit9836f38ace9317cd952f7dfe2d847435c0775b91 (patch)
tree3f1db7e0e853a979ad98982aa68f1fe8b96921e4 /media-libs/tse3
parentCompile sources with largefile (>2GB) support, closes bug #91056. (diff)
downloadgentoo-2-9836f38ace9317cd952f7dfe2d847435c0775b91.tar.gz
gentoo-2-9836f38ace9317cd952f7dfe2d847435c0775b91.tar.bz2
gentoo-2-9836f38ace9317cd952f7dfe2d847435c0775b91.zip
Fix size_t issues on both 32 and 64-bit systems. Close #92117.
(Portage version: 2.0.51.22)
Diffstat (limited to 'media-libs/tse3')
-rw-r--r--media-libs/tse3/ChangeLog6
-rw-r--r--media-libs/tse3/files/tse3-0.2.7-gcc4.patch26
-rw-r--r--media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch4
3 files changed, 7 insertions, 29 deletions
diff --git a/media-libs/tse3/ChangeLog b/media-libs/tse3/ChangeLog
index 38ee5f91970c..c067824fc5e9 100644
--- a/media-libs/tse3/ChangeLog
+++ b/media-libs/tse3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/tse3
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/ChangeLog,v 1.12 2005/08/07 13:29:33 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/ChangeLog,v 1.13 2005/08/13 13:50:19 flameeyes Exp $
+
+ 13 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
+ files/tse3-0.2.7-gcc4.patch, files/tse3-0.2.7-size_t-64bit.patch:
+ Fix size_t issues on both 32 and 64-bit systems. Close #92117.
07 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> tse3-0.2.7.ebuild:
Stable on ppc.
diff --git a/media-libs/tse3/files/tse3-0.2.7-gcc4.patch b/media-libs/tse3/files/tse3-0.2.7-gcc4.patch
index 7f32076323b6..ed92ded207ab 100644
--- a/media-libs/tse3/files/tse3-0.2.7-gcc4.patch
+++ b/media-libs/tse3/files/tse3-0.2.7-gcc4.patch
@@ -8,29 +8,3 @@
#include "tse3/DisplayParams.h"
#include <vector>
---- ./src/tse3/file/XML.h~ 2005-07-29 15:37:31.000000000 +0200
-+++ ./src/tse3/file/XML.h 2005-07-29 15:50:03.000000000 +0200
-@@ -154,7 +154,6 @@
- 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~ 2005-07-29 15:37:31.000000000 +0200
-+++ ./src/tse3/file/XML.cpp 2005-07-29 15:49:55.000000000 +0200
-@@ -116,13 +116,6 @@
- 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)
- {
- indent(out);
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
index fc30625efcfd..29c54edc084f 100644
--- 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
@@ -4,7 +4,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, unsigned long value);
void element(const std::string &name, bool value);
void comment(const std::string &comment);
@@ -14,7 +14,7 @@
out << "<" << name << " value=\"" << value << "\"/>\n";
}
-+void TSE3::File::XmlFileWriter::element(const std::string &name, size_t value)
++void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value)
+{
+ indent(out);
+ out << "<" << name << " value=\"" << value << "\"/>\n";