diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-11-16 18:30:04 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-11-16 18:30:04 +0000 |
commit | 528c74116bce110104785521103b749903b90eaf (patch) | |
tree | 527239e5c0dc37bfa5e0725858aaad4d38a072e9 /media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch | |
parent | bumb (diff) | |
download | gentoo-2-528c74116bce110104785521103b749903b90eaf.tar.gz gentoo-2-528c74116bce110104785521103b749903b90eaf.tar.bz2 gentoo-2-528c74116bce110104785521103b749903b90eaf.zip |
libsidplay: fix gcc43 and repoman/qa-fixes
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc4-git2 x86_64)
Diffstat (limited to 'media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch')
-rw-r--r-- | media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch new file mode 100644 index 000000000000..3b0b31ff5982 --- /dev/null +++ b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch @@ -0,0 +1,77 @@ +--- sidplay-libs-2.1.1/builders/resid-builder/src/resid.cpp.old 2008-07-25 17:00:41.000000000 \ ++0000 ++++ sidplay-libs-2.1.1/builders/resid-builder/src/resid.cpp 2008-07-25 16:59:44.000000000 \ ++0000 +@@ -16,6 +16,8 @@ + * * + ***************************************************************************/ + ++#include <cstring> ++ + #include "config.h" + + #ifdef HAVE_EXCEPTIONS +--- sidplay-libs-2.1.1/builders/resid-builder/src/resid-builder.cpp.old 2008-07-25 \ +17:02:00.000000000 +0000 ++++ sidplay-libs-2.1.1/builders/resid-builder/src/resid-builder.cpp 2008-07-25 17:01:47.000000000 \ ++0000 +@@ -37,6 +37,7 @@ + ***************************************************************************/ + + #include <stdio.h> ++#include <cstring> + + #include "config.h" + #ifdef HAVE_EXCEPTIONS +--- sidplay-libs-2.1.1/builders/hardsid-builder/src/hardsid-builder.cpp.old 2008-07-25 \ +17:08:50.000000000 +0000 ++++ sidplay-libs-2.1.1/builders/hardsid-builder/src/hardsid-builder.cpp 2008-07-25 \ +17:08:17.000000000 +0000 +@@ -47,6 +47,7 @@ + ***************************************************************************/ + + #include <stdio.h> ++#include <cstring> + #include "config.h" + + #ifdef HAVE_EXCEPTIONS +--- sidplay-libs-2.1.1/libsidplay/src/sidtune/SidTune.cpp.old 2008-07-25 16:55:02.000000000 \ ++0000 ++++ sidplay-libs-2.1.1/libsidplay/src/sidtune/SidTune.cpp 2008-07-25 16:53:58.000000000 \ ++0000 +@@ -283,7 +283,7 @@ + uint_least32_t fileLen = 0; + + // This sucks big time +- openmode createAtrr = std::ios::in; ++ std::_Ios_Openmode createAtrr = std::ios::in; + #ifdef HAVE_IOS_NOCREATE + createAtrr |= std::ios::nocreate; + #endif +@@ -952,7 +952,7 @@ + if ( status ) + { + // Open binary output file stream. +- openmode createAttr = std::ios::out; ++ std::_Ios_Openmode createAttr = std::ios::out; + #if defined(HAVE_IOS_BIN) + createAttr |= std::ios::bin; + #else +@@ -1002,7 +1002,7 @@ + if ( status ) + { + // Open ASCII output file stream. +- openmode createAttr = std::ios::out; ++ std::_Ios_Openmode createAttr = std::ios::out; + if ( overWriteFlag ) + createAttr |= std::ios::trunc; + else +@@ -1036,7 +1036,7 @@ + if ( status ) + { + // Open binary output file stream. +- openmode createAttr = std::ios::out; ++ std::_Ios_Openmode createAttr = std::ios::out; + #if defined(HAVE_IOS_BIN) + createAttr |= std::ios::bin; + #else |