[Bug 250010] multimedia/shotcut: fails to build "spatialmedia/constants.h:38:12: fatal error: 'endian.h' file not found"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 30 17:26:19 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250010
Bug ID: 250010
Summary: multimedia/shotcut: fails to build
"spatialmedia/constants.h:38:12: fatal error:
'endian.h' file not found"
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://github.com/mltframework/shotcut/issues/915
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: vvd at unislabs.com
12.1-p10 amd64.
===========================================================================
--- box.o ---
In file included from spatialmedia/box.cpp:23:
spatialmedia/constants.h:38:12: fatal error: 'endian.h' file not found
# include <endian.h>
^~~~~~~~~~
1 error generated.
*** [box.o] Error code 1
===========================================================================
Upstream issue with patch is here:
https://github.com/mltframework/shotcut/issues/915
===========================================================================
multimedia/shotcut/files/patch-src_spatialmedia_constants.h:
--- src/spatialmedia/constants.h.orig
+++ src/spatialmedia/constants.h
@@ -34,7 +34,7 @@
# define htole64(x) qtoLittleEndian(x)
# define be64toh(x) qFromBigEndian(x)
# define le64toh(x) qFromLittleEndian(x)
-#else
+#elif !defined(__FreeBSD__)
# include <endian.h>
#endif
===========================================================================
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list