pkgsrc/sysutils/kfilemetadata/patches/patch-src_extractors_ffmpegextractor.cpp
rumko 0136650daf sysutils/kfilemetadata: fix build on fbsd, UIN64_C & co. not found
src/extractors/ffmpegextractor.cpp could not be compiled due to inaccessible UIN64_C & co.
On FreeBSD, these are protected under _MACHINE__STDINT_H_, so undef it as well.

Ok@ markd
2015-01-15 17:58:16 +00:00

16 lines
431 B
C++

$NetBSD: patch-src_extractors_ffmpegextractor.cpp,v 1.1 2015/01/15 17:58:16 rumko Exp $
On FreeBSD, UINT64_C & co. are protected by _MACHINE__STDINT_H_
--- src/extractors/ffmpegextractor.cpp.orig 2014-07-18 08:06:55.000000000 +0000
+++ src/extractors/ffmpegextractor.cpp
@@ -29,6 +29,9 @@
#ifdef _STDINT_H
#undef _STDINT_H
#endif
+#ifdef _MACHINE__STDINT_H_
+#undef _MACHINE__STDINT_H_
+#endif
# include <stdint.h>
#endif