Date: Mon, 28 Dec 2020 20:49:01 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559525 - in head/multimedia/shotcut: . files Message-ID: <202012282049.0BSKn1OO054778@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Dec 28 20:49:01 2020 New Revision: 559525 URL: https://svnweb.freebsd.org/changeset/ports/559525 Log: multimedia/shotcut: fix build on big-endian Also remove unnecessary post-patch: Warning: Possible REINPLACE_CMD issues: - - REINPLACE_CMD ran, but did not modify file contents: src/jobs/meltjob.cpp Added: head/multimedia/shotcut/files/ head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h (contents, props changed) Modified: head/multimedia/shotcut/Makefile Modified: head/multimedia/shotcut/Makefile ============================================================================== --- head/multimedia/shotcut/Makefile Mon Dec 28 20:36:02 2020 (r559524) +++ head/multimedia/shotcut/Makefile Mon Dec 28 20:49:01 2020 (r559525) @@ -14,7 +14,7 @@ LIB_DEPENDS= libmlt.so:multimedia/mlt RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libjack.so:audio/jack -USES= desktop-file-utils gl pkgconfig \ +USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \ qmake qt:5 sdl shared-mime-info \ xorg @@ -45,9 +45,6 @@ FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r- LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5 - -post-patch: - @${REINPLACE_CMD} -e 's/"qmelt"/"melt"/' ${WRKSRC}/src/jobs/meltjob.cpp pre-build: @${FIND} ${WRKSRC} -name '.depend' -delete Added: head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h Mon Dec 28 20:49:01 2020 (r559525) @@ -0,0 +1,11 @@ +--- src/spatialmedia/constants.h.orig 2020-12-28 20:21:17 UTC ++++ src/spatialmedia/constants.h +@@ -36,6 +36,8 @@ + # define le64toh(x) qFromLittleEndian(x) + #elif !defined(__FreeBSD__) + # include <endian.h> ++#elif defined(__FreeBSD__) ++# include <sys/endian.h> + #endif + + struct AudioMetadata {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012282049.0BSKn1OO054778>