libgpiod: update to v1.6.4

This is a bug-fix release bringing in several fixes for build and
testing issues.

Remove the patch that's already present in this release.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2023-02-08 16:25:39 +01:00 committed by Khem Raj
parent 0e0849cd12
commit 389ee7fe7d
2 changed files with 2 additions and 40 deletions

View File

@ -1,37 +0,0 @@
From 3c461786feb1d5aa1ed2a911942a5f9fbc8b8086 Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Date: Tue, 24 Jan 2023 17:38:43 +0100
Subject: [libgpiod v1.6.x][PATCH] build: don't expect automake to set $PYTHON
It seems that the implementation of AM_PATH_PYTHON() changed in automake
recently and no longer sets $PYTHON variable which breaks the build on
some systems.
We know we use python3 so use python3-config explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Upstream-Status: Accepted
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3149384..0460810 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,9 +204,9 @@ then
AC_MSG_ERROR([python3-config not found - needed for python bindings])
fi
AS_IF([test -z "$PYTHON_CPPFLAGS"],
- [AC_SUBST(PYTHON_CPPFLAGS, [`$PYTHON-config --includes`])])
+ [AC_SUBST(PYTHON_CPPFLAGS, [`python3-config --includes`])])
AS_IF([test -z "$PYTHON_LIBS"],
- [AC_SUBST(PYTHON_LIBS, [`$PYTHON-config --libs`])])
+ [AC_SUBST(PYTHON_LIBS, [`python3-config --libs`])])
fi
AC_CHECK_PROG([has_doxygen], [doxygen], [true], [false])
--
2.37.2

View File

@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
SRC_URI = " \
https://www.kernel.org/pub/software/libs/${BPN}/${BP}.tar.xz \
file://run-ptest \
file://0001-build-don-t-expect-automake-to-set-PYTHON.patch \
"
SRC_URI[md5sum] = "28e79f6f70fee1da9079558d8b7b3736"
SRC_URI[sha256sum] = "841be9d788f00bab08ef22c4be5c39866f0e46cb100a3ae49ed816ac9c5dddc7"
SRC_URI[md5sum] = "7a2cca6ead9296c27e877070dd8853bc"
SRC_URI[sha256sum] = "7b146e12f28fbca3df7557f176eb778c5ccf952ca464698dba8a61b2e1e3f9b5"
inherit autotools pkgconfig python3native ptest