mirror of
https://git.yoctoproject.org/poky
synced 2026-03-24 00:00:18 +01:00
This version of libcomps does wrong pointer assignment, and on GCC14 hosts (e.g. Fedora 41), this fails to build with: | build/tmp-glibc/work/x86_64-linux/libcomps-native/0.1.18-r0/git/libcomps/tests/check_parse.c:588:11: error: assignment to ‘COMPS_DocGroup *’ from incompatible pointer type ‘COMPS_DocCategory *’ [-Wincompatible-pointer-types] | 588 | g = (COMPS_DocCategory*)it->comps_obj; Backport a patch making the assignment correct. (From OE-Core rev: 1853a4b2e22aaa1e8e7929bb13eaddbdd4542c71) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
25 lines
985 B
BlitzBasic
25 lines
985 B
BlitzBasic
SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)."
|
|
HOMEPAGE = "https://github.com/rpm-software-management/libcomps"
|
|
DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3."
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \
|
|
file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
|
|
file://0001-Fix-build-use-correct-variable-for-category-and-env.patch \
|
|
"
|
|
|
|
SRCREV = "dee4ae37f7818709802de28c4d16fa823bd83ae2"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake setuptools3-base
|
|
|
|
DEPENDS += "libxml2 expat libcheck"
|
|
|
|
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
|
|
OECMAKE_SOURCEPATH = "${S}/libcomps"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|