Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14244dc71ef6ebbc9ee1794fd8cabf355f57e691)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14244dc71ef6ebbc9ee1794fd8cabf355f57e691)
  • Date: Thu, 9 Jul 2020 17:57:04 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

video/v4l-utils/HISTORY
| 5 +
video/v4l-utils/PRE_BUILD
| 1
video/v4l-utils/patches/0001-keytable-Fix-missing-inclusion-of-argp.h.patch
| 27 ++++++++++
3 files changed, 33 insertions(+)

New commits:
commit 14244dc71ef6ebbc9ee1794fd8cabf355f57e691
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

v4l-utils: Fix build against musl

diff --git a/video/v4l-utils/HISTORY b/video/v4l-utils/HISTORY
index aaf0538..bb9e226 100644
--- a/video/v4l-utils/HISTORY
+++ b/video/v4l-utils/HISTORY
@@ -1,3 +1,8 @@
+2020-07-09 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD,
+ patches/0001-keytable-Fix-missing-inclusion-of-argp.h.patch:
+ Fixed build against musl
+
2020-06-11 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.20.0

diff --git a/video/v4l-utils/PRE_BUILD b/video/v4l-utils/PRE_BUILD
index 21f95c9..1ee3d1a 100755
--- a/video/v4l-utils/PRE_BUILD
+++ b/video/v4l-utils/PRE_BUILD
@@ -1,5 +1,6 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
case "$HOST" in *-musl)
sedit '/^mc_nextgen_test_LDADD *=/s/$/ -largp/' contrib/test/Makefile.in
;;
diff --git
a/video/v4l-utils/patches/0001-keytable-Fix-missing-inclusion-of-argp.h.patch
b/video/v4l-utils/patches/0001-keytable-Fix-missing-inclusion-of-argp.h.patch
new file mode 100644
index 0000000..a164530
--- /dev/null
+++
b/video/v4l-utils/patches/0001-keytable-Fix-missing-inclusion-of-argp.h.patch
@@ -0,0 +1,27 @@
+From 9d42640d413262d685211bb099bbbb6e58239523 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Thu, 9 Jul 2020 19:39:12 +0200
+Subject: [PATCH] keytable: Fix missing inclusion of argp.h
+
+error_t is only defined by argp.h on non-glibc systems.
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ utils/keytable/bpf_load.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/utils/keytable/bpf_load.c b/utils/keytable/bpf_load.c
+index 9f64cf4e91e8..7ae9af4a57be 100644
+--- a/utils/keytable/bpf_load.c
++++ b/utils/keytable/bpf_load.c
+@@ -13,6 +13,7 @@
+ #include <stdlib.h>
+ #include <linux/bpf.h>
+ #include <assert.h>
++#include <argp.h>
+ #include "keymap.h"
+ #include "bpf.h"
+ #include "bpf_load.h"
+--
+2.27.0
+



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (14244dc71ef6ebbc9ee1794fd8cabf355f57e691), Ismael Luceno, 07/09/2020

Archive powered by MHonArc 2.6.24.

Top of Page