Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 382686 Details for
Bug 458932
=media-libs/libaacplus-2.0.2 fails to build with clang-3.2 - main.c:(.text+0x9a): undefined reference to `AuChannelOpen'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix frontend/au_channel.h to use static inline functions.
fix-au_frontend-to-use-static.patch (text/plain), 1.23 KB, created by
Fabio Scaccabarozzi
on 2014-08-11 16:30:04 UTC
(
hide
)
Description:
Fix frontend/au_channel.h to use static inline functions.
Filename:
MIME Type:
Creator:
Fabio Scaccabarozzi
Created:
2014-08-11 16:30:04 UTC
Size:
1.23 KB
patch
obsolete
>diff -Nuar libaacplus-2.0.2.orig/frontend/au_channel.h libaacplus-2.0.2/frontend/au_channel.h >--- libaacplus-2.0.2.orig/frontend/au_channel.h 2014-08-11 17:53:14.770760540 +0200 >+++ libaacplus-2.0.2/frontend/au_channel.h 2014-08-11 17:52:36.258675263 +0200 >@@ -12,7 +12,7 @@ > int aFmt; > } WavInfo; > >-inline FILE* AuChannelOpen (const char* filename, WavInfo* info) >+static inline FILE* AuChannelOpen (const char* filename, WavInfo* info) > { > unsigned char header[12]; > unsigned char data[WAV_HEADER_SIZE]; >@@ -48,18 +48,18 @@ > return handle; > } > >-inline void AuChannelClose (FILE *audioChannel) >+static inline void AuChannelClose (FILE *audioChannel) > { > fclose(audioChannel); > } > >-inline size_t AuChannelReadShort(FILE *audioChannel, short *samples, int nSamples, int *readed) >+static inline size_t AuChannelReadShort(FILE *audioChannel, short *samples, int nSamples, int *readed) > { > *readed = fread(samples, 2, nSamples, audioChannel); > return *readed <= 0; > } > >-inline size_t AuChannelReadFloat(FILE *audioChannel, float *samples, int nSamples, int *readed) >+static inline size_t AuChannelReadFloat(FILE *audioChannel, float *samples, int nSamples, int *readed) > { > *readed = fread(samples, 4, nSamples, audioChannel); > return *readed <= 0;
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 458932
:
339892
|
354608
| 382686