Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 14:49:19 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531937 - head/multimedia/libv4l
Message-ID:  <202004171449.03HEnJF8090479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Apr 17 14:49:19 2020
New Revision: 531937
URL: https://svnweb.freebsd.org/changeset/ports/531937

Log:
  Fix build of v4l-utils when libsysinfo is not installed.
  v4l-utils doesn't need this dependency, so just remove
  the inclusion of <linux/kernel.h>.
  
  Approved by:	pi (implicit)

Modified:
  head/multimedia/libv4l/Makefile

Modified: head/multimedia/libv4l/Makefile
==============================================================================
--- head/multimedia/libv4l/Makefile	Fri Apr 17 14:49:12 2020	(r531936)
+++ head/multimedia/libv4l/Makefile	Fri Apr 17 14:49:19 2020	(r531937)
@@ -102,7 +102,7 @@ post-patch:
 			-e 's|<linux/compiler.h>|<sys/cdefs.h>|g' \
 			-e 's|<linux/errno.h>|<errno.h>|g' \
 			-e 's|<linux/ioctl.h>|<sys/ioctl.h>|g' \
-			-e 's|<linux/kernel.h>|<sys/sysinfo.h>|g' \
+			-e '/^.*\<linux\/kernel.h\>.*/d' \
 			-e 's|<linux/string.h>|<string.h>|g' \
 			-e 's|<linux/sysmacros.h>|<sys/types.h>|g' \
 			-e 's|<malloc.h>|<stdlib.h>|g' \



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