Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2614 Details for
Bug 5618
audacity 1.0.0 ebuild and patch to make it compile with gcc 3.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch
audacity-1.0.0-gcc31.patch (text/plain), 2.10 KB, created by
Julian J.
on 2002-07-26 14:51:23 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
Julian J.
Created:
2002-07-26 14:51:23 UTC
Size:
2.10 KB
patch
obsolete
>diff -u -r audacity-src-1.0.0.old/id3lib/src/tag_file.cpp audacity-src-1.0.0/id3lib/src/tag_file.cpp >--- audacity-src-1.0.0.old/id3lib/src/tag_file.cpp 2002-06-05 09:51:19.000000000 +0200 >+++ audacity-src-1.0.0/id3lib/src/tag_file.cpp 2002-07-26 21:00:16.000000000 +0200 >@@ -281,7 +281,7 @@ > //ID3_THROW_DESC(ID3E_NoFile, "couldn't open temp file"); > } > >- ofstream tmpOut(fd); >+ ofstream tmpOut(sTempFile); > if (!tmpOut) > { > tmpOut.close(); >@@ -293,7 +293,7 @@ > > tmpOut.write(tagData, tagSize); > file.seekg(tag.GetPrependedBytes(), ios::beg); >- uchar tmpBuffer[BUFSIZ]; >+ char tmpBuffer[BUFSIZ]; > while (file) > { > file.read(tmpBuffer, BUFSIZ); >diff -u -r audacity-src-1.0.0.old/id3lib/src/utils.cpp audacity-src-1.0.0/id3lib/src/utils.cpp >--- audacity-src-1.0.0.old/id3lib/src/utils.cpp 2002-06-05 09:51:19.000000000 +0200 >+++ audacity-src-1.0.0/id3lib/src/utils.cpp 2002-07-26 21:01:25.000000000 +0200 >@@ -40,7 +40,8 @@ > #define NOCREATE ((std::ios_base::openmode)0) > #define toascii(X) (X) > #else >-#define NOCREATE ios::nocreate >+//#define NOCREATE ios::nocreate >+#define NOCREATE ios::in > #endif > > #include "utils.h" >@@ -106,7 +107,7 @@ > size_t source_size = source.size(); > // const char* source_str = source.data(); > char * source_str = new char[source.length()+1]; >- source.copy(source_str, string::npos); >+ source.copy(source_str, String::npos); > source_str[source.length()] = 0; > > #define BUFSIZ 1024 >@@ -242,7 +243,7 @@ > size_t size = 0; > if (file.is_open()) > { >- streamoff curpos = file.tellg(); >+ int curpos = file.tellg(); > file.seekg(0, ios::end); > size = file.tellg(); > file.seekg(curpos); >@@ -255,7 +256,7 @@ > size_t size = 0; > if (file.is_open()) > { >- streamoff curpos = file.tellg(); >+ int curpos = file.tellg(); > file.seekg(0, ios::end); > size = file.tellg(); > file.seekg(curpos); >@@ -268,7 +269,7 @@ > size_t size = 0; > if (file.is_open()) > { >- streamoff curpos = file.tellp(); >+ int curpos = file.tellp(); > file.seekp(0, ios::end); > size = file.tellp(); > file.seekp(curpos);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5618
:
2613
| 2614