meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch
Ulrich ?lmann 72ce59509e v4l-utils: update to 1.20.0
Add new buildtime configuration options, update context of two patches and
remove two patches as there are fixes [1]-[3] found upstream in the meantime.

[1] 38f4ce74275a ("keytable: use input_event properly")
[2] 8b7e6ce9367f ("keytable: add compatibility for input_event_sec")
[3] 976a2f681b4e ("keymap.h needs sys/types.h and argp.h with musl")

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02 10:25:19 -08:00

29 lines
934 B
Diff

From 49f865a17d62db7bbd333a9b83fadeea55686e35 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 14 Jul 2017 13:17:19 -0700
Subject: [PATCH] contrib/test: Link mc_nextgen_test with libargp if needed
musl depends on external argp implementation e.g.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
contrib/test/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
index 0188fe2..dac07f3 100644
--- a/contrib/test/Makefile.am
+++ b/contrib/test/Makefile.am
@@ -42,7 +42,7 @@ sdlcam_CFLAGS = -I../.. $(SDL2_CFLAGS)
sdlcam_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la
mc_nextgen_test_CFLAGS = $(LIBUDEV_CFLAGS)
-mc_nextgen_test_LDFLAGS = $(LIBUDEV_LIBS)
+mc_nextgen_test_LDFLAGS = $(ARGP_LIBS) $(LIBUDEV_LIBS)
ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h
--
2.17.1