FreeBSD Bugzilla – Attachment 241757 Details for
Bug 270197
cad/opencascade: Fails to build with FFmpeg 6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for opencascade
ffmpeg4-opencascade.patch (text/plain), 1.99 KB, created by
Daniel Engberg
on 2023-04-26 11:56:10 UTC
(
hide
)
Description:
Patch for opencascade
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-04-26 11:56:10 UTC
Size:
1.99 KB
patch
obsolete
>diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile >index 49fa799e2830..9086d2140267 100644 >--- a/cad/opencascade/Makefile >+++ b/cad/opencascade/Makefile >@@ -86,9 +86,11 @@ OCCROOT= ${PREFIX}/${LOCCROOT} > PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} \ > VE=${PORTVERSION:R} VER=${DISTVERSION:C/-beta//} > >-FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON >+FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON \ >+ -D3RDPARTY_FFMPEG_INCLUDE_DIR=${LOCALBASE}/ffmpeg4/include \ >+ -D3RDPARTY_FFMPEG_DIR=${LOCALBASE}/ffmpeg4 > FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF >-FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ >+FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \ > libtheoraenc.so:multimedia/libtheora \ > libunistring.so:devel/libunistring \ > libvdpau.so:multimedia/libvdpau \ >diff --git a/cad/opencascade740/Makefile b/cad/opencascade740/Makefile >index 8eef300d1e2e..7f5f7d337116 100644 >--- a/cad/opencascade740/Makefile >+++ b/cad/opencascade740/Makefile >@@ -2,6 +2,7 @@ PORTNAME= opencascade > PORTVERSION= 7.4.0 # resurrected because science/chrono only builds with opencascade-7.4.0, see https://github.com/projectchrono/chrono/issues/359#issuecomment-1023478083 > PORTREVISION= 1 > CATEGORIES= cad science >+MASTER_SITES= https://github.com/tpaviot/oce/releases/download/official-upstream-packages/ > PKGNAMESUFFIX= 740 > > MAINTAINER= thierry@FreeBSD.org >@@ -63,9 +64,11 @@ OCCROOT= ${PREFIX}/${LOCCROOT} > PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} \ > VE=${PORTVERSION:R:R} VER=${PORTVERSION} > >-FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON >+FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON \ >+ -D3RDPARTY_FFMPEG_INCLUDE_DIR=${LOCALBASE}/ffmpeg4/include \ >+ -D3RDPARTY_FFMPEG_DIR=${LOCALBASE}/ffmpeg4 > FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF >-FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg >+FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 > > VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \ > -DUSE_FREETYPE:BOOL=ON -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270197
: 241757