Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100933 Details for
Bug 153363
media-sound/supercollider needs a version bump.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to make supercollider compile with gcc 4
supercollider-20040903-gcc4.patch (text/plain), 1.32 KB, created by
Domingo Stephan
on 2006-10-31 16:32:31 UTC
(
hide
)
Description:
patch to make supercollider compile with gcc 4
Filename:
MIME Type:
Creator:
Domingo Stephan
Created:
2006-10-31 16:32:31 UTC
Size:
1.32 KB
patch
obsolete
>--- a/headers/lang/ReadWriteMacros.h >+++ b/headers/lang/ReadWriteMacros.h >@@ -289,43 +289,52 @@ public: > > > // core routines >+template <> > inline void SC_IOStream<FILE*>::readData(char *data, int size) > { > fread(data, 1, size, s); > } > >+template <> > inline uint8 SC_IOStream<FILE*>::readUInt8() > { > return (uint8)fgetc(s); > } > >+template <> > inline void SC_IOStream<FILE*>::writeData(char *data, int size) > { > fwrite(data, 1, size, s); > } > >+template <> > inline void SC_IOStream<FILE*>::writeUInt8(uint8 inInt) > { > fputc(inInt, s); > } > > // core routines >+template <> > inline void SC_IOStream<char*>::readData(char *data, int size) > { > memcpy(data, s, size); > s += size; > } >+ >+template <> > inline uint8 SC_IOStream<char*>::readUInt8() > { > return (uint8)*s++; > } > >+template <> > inline void SC_IOStream<char*>::writeData(char *data, int size) > { > memcpy(s, data, size); > s += size; > } > >+template <> > inline void SC_IOStream<char*>::writeUInt8(uint8 inInt) > { > *s++ = (inInt & 255); >--- a/source/lang/LangSource/SC_LanguageClient.cpp >+++ b/source/lang/LangSource/SC_LanguageClient.cpp >@@ -105,7 +105,7 @@ void SC_LanguageClient::compileLibrary() > ::compileLibrary(); > } > >-extern void ::shutdownLibrary(); >+extern void shutdownLibrary(); > void SC_LanguageClient::shutdownLibrary() > { > ::shutdownLibrary();
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 153363
:
100933
|
127267