pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libheif
Module Name: pkgsrc
Committed By: otis
Date: Fri Oct 2 17:09:35 UTC 2020
Modified Files:
pkgsrc/graphics/libheif: distinfo
Added Files:
pkgsrc/graphics/libheif/patches: patch-examples_heif__info.cc
patch-libheif_heif__hevc.cc
Log Message:
graphics/libheif: Fix build on SmartOS
Fix build on SmartOS or other platforms where more include files
are needed.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/libheif/distinfo
cvs rdiff -u -r0 -r1.3 \
pkgsrc/graphics/libheif/patches/patch-examples_heif__info.cc
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/libheif/patches/patch-libheif_heif__hevc.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/libheif/distinfo
diff -u pkgsrc/graphics/libheif/distinfo:1.5 pkgsrc/graphics/libheif/distinfo:1.6
--- pkgsrc/graphics/libheif/distinfo:1.5 Tue Sep 29 06:04:58 2020
+++ pkgsrc/graphics/libheif/distinfo Fri Oct 2 17:09:35 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2020/09/29 06:04:58 triaxx Exp $
+$NetBSD: distinfo,v 1.6 2020/10/02 17:09:35 otis Exp $
SHA1 (libheif-1.9.1.tar.gz) = 4fd8929b68af2b8f8870f5f7e5ce6918b35460c6
RMD160 (libheif-1.9.1.tar.gz) = 92a6ff1b051c53da86643ef87c4d6c252772306b
@@ -6,3 +6,5 @@ SHA512 (libheif-1.9.1.tar.gz) = a41ff966
Size (libheif-1.9.1.tar.gz) = 1556450 bytes
SHA1 (patch-configure) = 859f4ae06e77a79a723f2760d426c88787916a9c
SHA1 (patch-examples_heif__convert.cc) = 6bdcf91c237824aaa63541370d342d86f5255db8
+SHA1 (patch-examples_heif__info.cc) = 105c94a5f37dd6ee2a438d86c7ba10dd76926ec6
+SHA1 (patch-libheif_heif__hevc.cc) = 6a000bf3a6aa6f7adf3f004dd646fb1bd7d30705
Added files:
Index: pkgsrc/graphics/libheif/patches/patch-examples_heif__info.cc
diff -u /dev/null pkgsrc/graphics/libheif/patches/patch-examples_heif__info.cc:1.3
--- /dev/null Fri Oct 2 17:09:35 2020
+++ pkgsrc/graphics/libheif/patches/patch-examples_heif__info.cc Fri Oct 2 17:09:35 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-examples_heif__info.cc,v 1.3 2020/10/02 17:09:35 otis Exp $
+
+Help the compiler find the correct prototype for alloca()
+
+--- examples/heif_info.cc.orig 2020-09-22 10:09:51.000000000 +0000
++++ examples/heif_info.cc
+@@ -34,6 +34,10 @@
+
+ #include <unistd.h>
+
++#if defined(__sun) || defined(sun)
++#include <alloca.h>
++#endif
++
+ #else
+ #define STDOUT_FILENO 1
+ #endif
Index: pkgsrc/graphics/libheif/patches/patch-libheif_heif__hevc.cc
diff -u /dev/null pkgsrc/graphics/libheif/patches/patch-libheif_heif__hevc.cc:1.1
--- /dev/null Fri Oct 2 17:09:35 2020
+++ pkgsrc/graphics/libheif/patches/patch-libheif_heif__hevc.cc Fri Oct 2 17:09:35 2020
@@ -0,0 +1,15 @@
+$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;
Home |
Main Index |
Thread Index |
Old Index