openbsd-ports/audio/faac/patches/patch-include_faac_h

32 lines
641 B
Plaintext

$OpenBSD: patch-include_faac_h,v 1.4 2011/08/28 13:19:45 naddy Exp $
--- include/faac.h.orig Sun Jan 25 19:50:32 2009
+++ include/faac.h Thu Aug 25 00:55:16 2011
@@ -36,7 +36,7 @@ extern "C" {
# endif
#endif
-#pragma pack(push, 1)
+/* #pragma pack(push, 1) */
typedef struct {
void *ptr;
@@ -49,9 +49,6 @@ psymodellist_t;
typedef void *faacEncHandle;
-#ifndef HAVE_INT32_T
-typedef signed int int32_t;
-#endif
/*
Allows an application to get FAAC version info. This is intended
@@ -90,7 +87,7 @@ int FAACAPI faacEncClose(faacEncHandle hEncoder);
-#pragma pack(pop)
+/* #pragma pack(pop) */
#ifdef __cplusplus
}