opnsense-ports/multimedia/libmpeg2/files/patch-libmpeg2__idct_alpha.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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>