diff options
author | wiz <wiz> | 2014-08-11 23:01:50 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-08-11 23:01:50 +0000 |
commit | 8fdebb315dc61958b3de1c08900aadc500ff7e7d (patch) | |
tree | 6affee79b354622295c24f5e241da1290601c51f /multimedia/ffmpeg1/patches/patch-ap | |
parent | 69537f90911ec45fed1efeeab9b1864b62d5b100 (diff) | |
download | pkgsrc-8fdebb315dc61958b3de1c08900aadc500ff7e7d.tar.gz |
Import ffmpeg1-1.2.7 as multimedia/ffmpeg1.
FFmpeg is a complete, cross-platform solution to record, convert
and stream audio and video. It includes libavcodec - the leading
audio/video codec library.
This package contains major version 1.
Diffstat (limited to 'multimedia/ffmpeg1/patches/patch-ap')
-rw-r--r-- | multimedia/ffmpeg1/patches/patch-ap | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/multimedia/ffmpeg1/patches/patch-ap b/multimedia/ffmpeg1/patches/patch-ap new file mode 100644 index 00000000000..2ae5e4253c0 --- /dev/null +++ b/multimedia/ffmpeg1/patches/patch-ap @@ -0,0 +1,27 @@ +$NetBSD: patch-ap,v 1.1 2014/08/11 23:01:50 wiz Exp $ + +--- libavutil/common.h.orig 2013-01-06 21:53:29.000000000 +0000 ++++ libavutil/common.h +@@ -39,6 +39,22 @@ + #include "version.h" + #include "libavutil/avconfig.h" + ++#if defined(__cplusplus) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__) ++#undef _STDINT_H_ ++#undef _SYS_STDINT_H_ ++#undef _STDINT_H ++#undef _GCC_WRAP_STDINT_H ++#ifndef __STDC_CONSTANT_MACROS ++#define __STDC_CONSTANT_MACROS ++#endif ++#include <stdint.h> ++#endif /* FreeBSD | OpenBSD | linux */ ++#if defined(__DragonFly__) || defined(__NetBSD__) ++#include <machine/int_const.h> ++#endif /* DragonFly | NetBSD */ ++#endif /* __cplusplus */ ++ + #if AV_HAVE_BIGENDIAN + # define AV_NE(be, le) (be) + #else |