1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/audio/faac/files/patch-gcc
Michael Johnson 2cd11fd7a9 Add missing header to fix build of gstreamer-plugins on >5.x
PR:	ports/73260
Pointed out by:	sean@mcneil.com
Approved by:	adamw (mentor)
2004-10-30 03:22:23 +00:00

50 lines
1.1 KiB
Plaintext

--- include/faac.h.orig Mon Nov 24 13:10:32 2003
+++ include/faac.h Thu Oct 28 20:01:36 2004
@@ -36,7 +36,7 @@
# endif
#endif
-#pragma pack(push, 1)
+#include <sys/types.h>
typedef struct {
void *ptr;
@@ -76,17 +76,16 @@
int FAACAPI faacEncGetDecoderSpecificInfo(faacEncHandle hEncoder, unsigned char **ppBuffer,
unsigned long *pSizeOfDecoderSpecificInfo);
-
int FAACAPI faacEncEncode(faacEncHandle hEncoder, int32_t * inputBuffer, unsigned int samplesInput,
- unsigned char *outputBuffer,
- unsigned int bufferSize);
+ unsigned char *outputBuffer,
+ unsigned int bufferSize);
+
int FAACAPI faacEncClose(faacEncHandle hEncoder);
-#pragma pack(pop)
#ifdef __cplusplus
}
--- include/faaccfg.h.orig Wed Oct 29 05:31:24 2003
+++ include/faaccfg.h Thu Oct 28 20:01:13 2004
@@ -45,7 +45,6 @@
#define SHORTCTL_NOSHORT 1
#define SHORTCTL_NOLONG 2
-#pragma pack(push, 1)
typedef struct faacEncConfiguration
{
/* config version */
@@ -117,6 +116,5 @@
} faacEncConfiguration, *faacEncConfigurationPtr;
-#pragma pack(pop)
#endif /* _FAACCFG_H_ */