freebsd-ports/multimedia/libmpeg2/files/patch-libmpeg2__idct_alpha.c
Max Brazhnikov 1fed8995fc - Add dependence on X libraries [1] and make it optional
- Convert to new option framework
- Convert to USES
- Trim Makefile header
- pet portlint: rename patch

PR:		ports/175965 [1]
Submitted by:	pawel
2013-03-25 14:05:23 +00:00

17 lines
385 B
C

--- libmpeg2/idct_alpha.c.orig Wed May 14 13:19:19 2003
+++ libmpeg2/idct_alpha.c Wed May 14 13:19:32 2003
@@ -24,6 +24,14 @@
#include "config.h"
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if defined(__FreeBSD__) && __FreeBSD_version < 500000
+typedef __int32_t int_fast32_t;
+#endif
+
#ifdef ARCH_ALPHA
#include <stdlib.h>