diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-10-16 03:34:55 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-10-19 07:07:25 +0000 |
commit | 5dc8b93cd9c03026e72c5581af296c012c0b1116 (patch) | |
tree | fe58595494f1222c7e3b9c6b559740d1ce97071f | |
parent | 672b1b7c1e414c3882f4a2452c7a5585c949ca78 (diff) | |
download | ports-5dc8b93cd9c03026e72c5581af296c012c0b1116.tar.gz ports-5dc8b93cd9c03026e72c5581af296c012c0b1116.zip |
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
-rw-r--r-- | multimedia/assimp/files/patch-code_AssetLib_MDL_MDLFileData.h | 11 |
1 files changed, 11 insertions, 0 deletions
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; + + // ------------------------------------------------------------------------------------- |