pkgsrc/graphics/libheif/patches/patch-libheif_heif__hevc.cc
otis 6e8f9a227e graphics/libheif: Fix build on SmartOS
Fix build on SmartOS or other platforms where more include files
are needed.
2020-10-02 17:09:35 +00:00

15 lines
346 B
C++

$NetBSD: patch-libheif_heif__hevc.cc,v 1.1 2020/10/02 17:09:35 otis Exp $
Help the compiler find the prototype fow pow()
--- libheif/heif_hevc.cc.orig 2020-09-22 10:09:51.000000000 +0000
+++ libheif/heif_hevc.cc
@@ -21,6 +21,8 @@
#include "heif_hevc.h"
#include "bitstream.h"
+#include <math.h>
+
#include <cmath>
using namespace heif;