pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/assimp



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Sep  1 10:39:06 UTC 2023

Modified Files:
        pkgsrc/multimedia/assimp: distinfo
Added Files:
        pkgsrc/multimedia/assimp/patches: patch-include_assimp_Hash.h

Log Message:
assimp: Fix usage of abs(3) without including stdlib.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/multimedia/assimp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/multimedia/assimp/patches/patch-include_assimp_Hash.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/assimp/distinfo
diff -u pkgsrc/multimedia/assimp/distinfo:1.10 pkgsrc/multimedia/assimp/distinfo:1.11
--- pkgsrc/multimedia/assimp/distinfo:1.10      Wed Apr 26 19:32:56 2023
+++ pkgsrc/multimedia/assimp/distinfo   Fri Sep  1 10:39:06 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2023/04/26 19:32:56 wiz Exp $
+$NetBSD: distinfo,v 1.11 2023/09/01 10:39:06 nia Exp $
 
 BLAKE2s (assimp-5.2.5.tar.gz) = 819de5b93729a70ca98683a8604e2b0e7eef8e04bb841905167bd0a19fda42d8
 SHA512 (assimp-5.2.5.tar.gz) = ac0dc4243f9d1ff077966f0037187b4374075ac97e75e1a3cd6bdc1caf5f8e4d40953d9a8a316480969c09524d87daa9d3ed75e6ac6f037dd5b1c5f25fce3afb
 Size (assimp-5.2.5.tar.gz) = 49543936 bytes
 SHA1 (patch-contrib_zip_src_zip.h) = 1eac9382ac0536d4ede0b9c4f9e72c7ef1dfbf63
+SHA1 (patch-include_assimp_Hash.h) = 5387f90f986f34cb932f8ad964b520008a65736b

Added files:

Index: pkgsrc/multimedia/assimp/patches/patch-include_assimp_Hash.h
diff -u /dev/null pkgsrc/multimedia/assimp/patches/patch-include_assimp_Hash.h:1.1
--- /dev/null   Fri Sep  1 10:39:06 2023
+++ pkgsrc/multimedia/assimp/patches/patch-include_assimp_Hash.h        Fri Sep  1 10:39:06 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_assimp_Hash.h,v 1.1 2023/09/01 10:39:06 nia Exp $
+
+Include cstdlib for abs(3). Fixes a build failure on NetBSD 8.
+
+--- include/assimp/Hash.h.orig 2022-09-08 18:13:43.000000000 +0000
++++ include/assimp/Hash.h
+@@ -48,6 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ 
+ #include <stdint.h>
+ #include <string.h>
++#include <cstdlib>
+ #include <cmath>
+ 
+ // ------------------------------------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index