mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
multimedia/shotcut: Fix build. Add missing patch.
This patch was missing from r550683 PR: 250010 Reported by: vvd@unislabs.com
This commit is contained in:
parent
a37422b35c
commit
78b75a7a1d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550729
19
multimedia/shotcut/files/patch-src_spatialmedia_constants.h
Normal file
19
multimedia/shotcut/files/patch-src_spatialmedia_constants.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user