svn commit: r550729 - head/multimedia/shotcut/files
Fernando Apesteguía
fernape at FreeBSD.org
Wed Sep 30 18:20:56 UTC 2020
Author: fernape
Date: Wed Sep 30 18:20:55 2020
New Revision: 550729
URL: https://svnweb.freebsd.org/changeset/ports/550729
Log:
multimedia/shotcut: Fix build. Add missing patch.
This patch was missing from r550683
PR: 250010
Reported by: vvd at unislabs.com
Added:
head/multimedia/shotcut/files/
head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h (contents, props changed)
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 Wed Sep 30 18:20:55 2020 (r550729)
@@ -0,0 +1,19 @@
+--- src/spatialmedia/constants.h.orig 2020-09-20 19:10:00 UTC
++++ src/spatialmedia/constants.h
+@@ -19,6 +19,7 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <sys/param.h>
+
+ #include <QtEndian>
+ #if defined(Q_OS_WIN) || defined(Q_OS_MAC)
+@@ -34,6 +35,8 @@
+ # define htole64(x) qtoLittleEndian(x)
+ # define be64toh(x) qFromBigEndian(x)
+ # define le64toh(x) qFromLittleEndian(x)
++#elif defined(__FreeBSD__)
++# include <sys/endian.h>
+ #else
+ # include <endian.h>
+ #endif
More information about the svn-ports-all
mailing list