svn commit: r559701 - head/multimedia/libv4l/files
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Dec 31 01:33:10 UTC 2020
Author: pkubaj
Date: Thu Dec 31 01:33:09 2020
New Revision: 559701
URL: https://svnweb.freebsd.org/changeset/ports/559701
Log:
multimedia/libv4l: fix build on big-endian architectures
Include sys/endian.h:
v4l2-ctl-vidcap.cpp:378:38: error: 'le16toh' was not declared in this scope
Added:
head/multimedia/libv4l/files/patch-utils_v4l2-ctl_v4l2-ctl-vidcap.cpp (contents, props changed)
Added: head/multimedia/libv4l/files/patch-utils_v4l2-ctl_v4l2-ctl-vidcap.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/libv4l/files/patch-utils_v4l2-ctl_v4l2-ctl-vidcap.cpp Thu Dec 31 01:33:09 2020 (r559701)
@@ -0,0 +1,10 @@
+--- utils/v4l2-ctl/v4l2-ctl-vidcap.cpp.orig 2020-12-30 21:13:40 UTC
++++ utils/v4l2-ctl/v4l2-ctl-vidcap.cpp
+@@ -14,6 +14,7 @@
+ #include <dirent.h>
+ #include <math.h>
+ #include <cstdlib>
++#include <sys/endian.h>
+
+ #include "v4l2-ctl.h"
+
More information about the svn-ports-all
mailing list