head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.08.12.03.43.36; author ryoon; state Exp; branches; next ; commitid 2m59YBR1kiEvBiRG; desc @@ 1.1 log @multimedia/ffmpeg9: import ffmpeg9-9.0 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 9. @ text @$NetBSD: patch-libavutil_macros.h,v 1.1 2025/08/22 16:42:06 wiz Exp $ Add required int includes on various opensource platforms. --- libavutil/macros.h.orig 2022-01-14 18:45:40.000000000 +0000 +++ libavutil/macros.h @@@@ -27,6 +27,22 @@@@ #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 +#endif /* FreeBSD | OpenBSD | linux */ +#if defined(__DragonFly__) || defined(__NetBSD__) +#include +#endif /* DragonFly | NetBSD */ +#endif /* __cplusplus */ + #if AV_HAVE_BIGENDIAN # define AV_NE(be, le) (be) #else @