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:   triaxx
Date:           Tue Sep 29 06:04:58 UTC 2020

Modified Files:
        pkgsrc/graphics/libheif: Makefile distinfo
        pkgsrc/graphics/libheif/patches: patch-examples_heif__convert.cc

Log Message:
libheif: Fix build on FreeBSD

pkgsrc changes:
---------------
  * Add preprocessor test for stdlib.h inclusion on FreeBSD
  * Bump revision


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/libheif/Makefile \
    pkgsrc/graphics/libheif/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.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/Makefile
diff -u pkgsrc/graphics/libheif/Makefile:1.4 pkgsrc/graphics/libheif/Makefile:1.5
--- pkgsrc/graphics/libheif/Makefile:1.4        Mon Sep 28 13:38:13 2020
+++ pkgsrc/graphics/libheif/Makefile    Tue Sep 29 06:04:58 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2020/09/28 13:38:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.5 2020/09/29 06:04:58 triaxx Exp $
 
 DISTNAME=      libheif-1.9.1
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=strukturag/}
 GITHUB_PROJECT=        libheif
Index: pkgsrc/graphics/libheif/distinfo
diff -u pkgsrc/graphics/libheif/distinfo:1.4 pkgsrc/graphics/libheif/distinfo:1.5
--- pkgsrc/graphics/libheif/distinfo:1.4        Mon Sep 28 13:38:13 2020
+++ pkgsrc/graphics/libheif/distinfo    Tue Sep 29 06:04:58 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2020/09/28 13:38:13 ryoon Exp $
+$NetBSD: distinfo,v 1.5 2020/09/29 06:04:58 triaxx Exp $
 
 SHA1 (libheif-1.9.1.tar.gz) = 4fd8929b68af2b8f8870f5f7e5ce6918b35460c6
 RMD160 (libheif-1.9.1.tar.gz) = 92a6ff1b051c53da86643ef87c4d6c252772306b
 SHA512 (libheif-1.9.1.tar.gz) = a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe
 Size (libheif-1.9.1.tar.gz) = 1556450 bytes
 SHA1 (patch-configure) = 859f4ae06e77a79a723f2760d426c88787916a9c
-SHA1 (patch-examples_heif__convert.cc) = b4b6b16d40ad87ca20730c4decf337e7bf123ce4
+SHA1 (patch-examples_heif__convert.cc) = 6bdcf91c237824aaa63541370d342d86f5255db8

Index: pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.cc
diff -u pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.cc:1.2 pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.cc:1.3
--- pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.cc:1.2 Mon Sep 28 13:38:13 2020
+++ pkgsrc/graphics/libheif/patches/patch-examples_heif__convert.cc     Tue Sep 29 06:04:58 2020
@@ -1,15 +1,18 @@
-$NetBSD: patch-examples_heif__convert.cc,v 1.2 2020/09/28 13:38:13 ryoon Exp $
+$NetBSD: patch-examples_heif__convert.cc,v 1.3 2020/09/29 06:04:58 triaxx Exp $
 
 Include alloca.h on SunOS
 
 --- examples/heif_convert.cc.orig      2020-09-23 14:02:39.000000000 +0000
 +++ examples/heif_convert.cc
-@@ -27,7 +27,7 @@
+@@ -27,8 +27,10 @@
  #include "config.h"
  #endif
  
 -#if defined(_MSC_VER) || defined(__MINGW32__)
 +#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__NetBSD__)
  # include <malloc.h>
++#elif defined(__FreeBSD__)
++# include <stdlib.h>
  #else
  # include <alloca.h>
+ #endif



Home | Main Index | Thread Index | Old Index