diff options
author | ryoon <ryoon> | 2016-03-05 08:52:23 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2016-03-05 08:52:23 +0000 |
commit | 23e32617c642b598f07b6477dfbb6f9cfee805d5 (patch) | |
tree | e3b48b04eda5973bf0d94ed9416e2ad360ffc694 /multimedia/ffmpeg3/patches/patch-libavutil_common.h | |
parent | d0035cca02450ed0e93e904f73925d86946be55d (diff) | |
download | pkgsrc-23e32617c642b598f07b6477dfbb6f9cfee805d5.tar.gz |
Import ffmpeg3-3.0 as multimedia/ffmpeg3.
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 3.
Diffstat (limited to 'multimedia/ffmpeg3/patches/patch-libavutil_common.h')
-rw-r--r-- | multimedia/ffmpeg3/patches/patch-libavutil_common.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/multimedia/ffmpeg3/patches/patch-libavutil_common.h b/multimedia/ffmpeg3/patches/patch-libavutil_common.h new file mode 100644 index 00000000000..171b8820bdf --- /dev/null +++ b/multimedia/ffmpeg3/patches/patch-libavutil_common.h @@ -0,0 +1,27 @@ +$NetBSD: patch-libavutil_common.h,v 1.1 2016/03/05 08:52:23 ryoon Exp $ + +--- libavutil/common.h.orig 2016-01-15 16:58:36.000000000 +0000 ++++ libavutil/common.h +@@ -43,6 +43,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 |