git: 4e24f0d91115 - 2023Q1 - graphics/f3d: Fix build on 32 bit platforms
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Feb 2023 00:44:38 UTC
The branch 2023Q1 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e24f0d911154d1e2ff0b740de1882c444dae8d6
commit 4e24f0d911154d1e2ff0b740de1882c444dae8d6
Author: Robert Clausecker <fuz@fuz.su>
AuthorDate: 2023-02-06 00:09:05 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-06 00:44:35 +0000
graphics/f3d: Fix build on 32 bit platforms
PR: 269344
(cherry picked from commit 8b9ae5f98cd2d153cdf88f06ac38ce973894f6c8)
---
graphics/f3d/Makefile | 10 ++++++----
graphics/f3d/distinfo | 4 +++-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile
index 1b79f41a435f..a01bcdd29030 100644
--- a/graphics/f3d/Makefile
+++ b/graphics/f3d/Makefile
@@ -1,9 +1,12 @@
PORTNAME= f3d
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
+PATCH_SITES= https://github.com/f3d-app/f3d/commit/
+PATCHFILES= cc108300b44981b530aa3ad72c971c889e6bf3e2.diff:-p1
+
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast and minimalist 3D viewer
WWW= https://f3d-app.github.io/f3d/
@@ -11,8 +14,6 @@ WWW= https://f3d-app.github.io/f3d/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= compilation breaks: non-constant-expression cannot be narrowed from type 'unsigned int' to 'vtkIdType' (aka 'int') in initializer list (new release should fix this)
-
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libfontconfig.so:x11-fonts/fontconfig \
libfreeimage.so:graphics/freeimage \
@@ -55,7 +56,8 @@ EXTERNAL_RENDERING_BROKEN= Requires VTK::RenderingExternal enabled in VTK
OCCT_DESC= OpenCASCADE module (STEP and IGES files)
OCCT_USES= localbase:ldflags
OCCT_CMAKE_BOOL= F3D_MODULE_OCCT
-OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade
+OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade \
+ libdraco.so:archivers/draco
OCCT_CMAKE_ON= -DOpenCASCADE_DIR=${LOCALBASE}/lib/cmake
RAYTRACING_DESC= Raytracing module
diff --git a/graphics/f3d/distinfo b/graphics/f3d/distinfo
index 07fcead13c5e..423b4b73c6e6 100644
--- a/graphics/f3d/distinfo
+++ b/graphics/f3d/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1662604096
+TIMESTAMP = 1675621771
SHA256 (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 653dc4044e14d0618c1d947a8ee85d2513e100b3fc24bd6e51830131a13e795d
SIZE (f3d-app-f3d-v1.3.1_GH0.tar.gz) = 35586414
+SHA256 (cc108300b44981b530aa3ad72c971c889e6bf3e2.diff) = d57f50bcf67f61b6ec5bd156da5c573210ef14fb360c8b82ae7a4cfffa53323a
+SIZE (cc108300b44981b530aa3ad72c971c889e6bf3e2.diff) = 1224