Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 01:33:10 +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: r559701 - head/multimedia/libv4l/files
Message-ID:  <202012310133.0BV1XAXe092495@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012310133.0BV1XAXe092495>