svn commit: r531937 - head/multimedia/libv4l

Hans Petter Selasky hselasky at FreeBSD.org
Fri Apr 17 14:49:22 UTC 2020


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' \


More information about the svn-ports-all mailing list