git: 9d2baa894558 - main - graphics/alizams: fix build on big-endian
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Oct 2023 09:39:26 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d2baa8945582c5defbaeeb0fa70b2623e8b34f6 commit 9d2baa8945582c5defbaeeb0fa70b2623e8b34f6 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-09-29 15:43:45 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-10-01 09:39:15 +0000 graphics/alizams: fix build on big-endian /wrkdirs/usr/ports/graphics/alizams/work/AlizaMS-1.9.3/mdcm/Source/Common/mdcmSwapper.h:92:16: error: read-only variable is not assignable array[i] = Swap<T>(array[i]); ~~~~~~~~ ^ While here switch to CMake switch for disabling SIMD. --- graphics/alizams/Makefile | 5 ++++- graphics/alizams/distinfo | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/graphics/alizams/Makefile b/graphics/alizams/Makefile index ae687d86af32..d8d4c68ce2b2 100644 --- a/graphics/alizams/Makefile +++ b/graphics/alizams/Makefile @@ -7,6 +7,9 @@ MAINTAINER= yuri@FreeBSD.org COMMENT= DICOM Viewer WWW= https://github.com/AlizaMedicalImaging/AlizaMS +PATCH_SITES= https://github.com/AlizaMedicalImaging/AlizaMS/commit/ +PATCHFILES= dff6bb9bbba97dcf67793712d589ce3cedf8876f.patch:-p1 + LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE @@ -29,7 +32,7 @@ CMAKE_ARGS= -DALIZA_QT_VERSION=5 .include <bsd.port.options.mk> .if ${ARCH} != amd64 -CXXFLAGS+= -DDISABLE_SIMDMATH # i386 also needs disabling SIND, see https://github.com/InsightSoftwareConsortium/ITK/issues/3771#issuecomment-1328839390 +CMAKE_ARGS+= -DALIZA_DISABLE_SIMDMATH:BOOL=YES # i386 also needs disabling SIND, see https://github.com/InsightSoftwareConsortium/ITK/issues/3771#issuecomment-1328839390 .endif .include <../../science/InsightToolkit/Makefile.version> diff --git a/graphics/alizams/distinfo b/graphics/alizams/distinfo index cf2b8780ee0d..7d683001a477 100644 --- a/graphics/alizams/distinfo +++ b/graphics/alizams/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1690181765 +TIMESTAMP = 1695999861 SHA256 (AlizaMedicalImaging-AlizaMS-v1.9.3_GH0.tar.gz) = 2f45f04cb13b7513b14d033f1ef73f13cdb79230ffd0052b2a129dd1843ec11f SIZE (AlizaMedicalImaging-AlizaMS-v1.9.3_GH0.tar.gz) = 5029095 +SHA256 (dff6bb9bbba97dcf67793712d589ce3cedf8876f.patch) = a89d4c2232fc6d5a09dad80617564369157feb07f6ef7c9fa471a1d3d2d5c978 +SIZE (dff6bb9bbba97dcf67793712d589ce3cedf8876f.patch) = 1273