Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2023 07:08:05 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5dc8b93cd9c0 - main - multimedia/assimp: fix build on armv7
Message-ID:  <202310190708.39J785NN044909@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5dc8b93cd9c03026e72c5581af296c012c0b1116

commit 5dc8b93cd9c03026e72c5581af296c012c0b1116
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-10-16 03:34:55 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-19 07:07:25 +0000

    multimedia/assimp: fix build on armv7
    
    Mark a union within a packed struct as packed to avoid an alignment
    warning.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2023Q4
---
 multimedia/assimp/files/patch-code_AssetLib_MDL_MDLFileData.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/multimedia/assimp/files/patch-code_AssetLib_MDL_MDLFileData.h b/multimedia/assimp/files/patch-code_AssetLib_MDL_MDLFileData.h
new file mode 100644
index 000000000000..334f12063fbd
--- /dev/null
+++ b/multimedia/assimp/files/patch-code_AssetLib_MDL_MDLFileData.h
@@ -0,0 +1,11 @@
+--- code/AssetLib/MDL/MDLFileData.h.orig	2023-10-16 03:31:18 UTC
++++ code/AssetLib/MDL/MDLFileData.h
+@@ -603,7 +603,7 @@ struct Vertex_MDL7
+     union {
+         uint8_t norm162index;
+         float norm[3];
+-    };
++    } PACK_STRUCT;
+ } PACK_STRUCT;
+ 
+ // -------------------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310190708.39J785NN044909>