Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From 1d2197c195e19f1414afef75186bdd4c27b3ee5a Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 23 Mar 2024 18:16:19 -0700
|
||||
Subject: [PATCH] Include linux/stat.h only when sys/stat.h is not included
|
||||
|
||||
This ends up providing certain functions from both headers e.g.
|
||||
statx and statx_timestamp since liburing.h forcefully defines _GNU_SOURCE
|
||||
to help musl compile liburing, however, this define then causes these
|
||||
two files to conflict in plocate, it seems this file is redundant here
|
||||
when sys/stat.h is included anyway, mark it for conditional include
|
||||
|
||||
Fixes
|
||||
| In file included from ../plocate-1.1.22/plocate.cpp:5:
|
||||
| In file included from ../plocate-1.1.22/io_uring_engine.h:14:
|
||||
| In file included from /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/liburing.h:14:
|
||||
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/sys/stat.h:124:8: error: redefinition of 'statx_timestamp'
|
||||
| 124 | struct statx_timestamp {
|
||||
| | ^
|
||||
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/linux/stat.h:56:8: note: previous definition is here | 56 | struct statx_timestamp { | | ^ | In file included from ../plocate-1.1.22/plocate.cpp:5: | In file included from ../plocate-1.1.22/io_uring_engine.h:14: | In file included from /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/liburing.h:14: | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/sys/stat.h:129:8: error: redefinition of 'statx' | 129 | struct statx { | | ^ | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/linux/stat.h:99:8: note: previous definition is here
|
||||
| 99 | struct statx {
|
||||
| | ^
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
io_uring_engine.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/io_uring_engine.h
|
||||
+++ b/io_uring_engine.h
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <string_view>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
-#include <linux/stat.h>
|
||||
|
||||
struct io_uring_sqe;
|
||||
#ifndef WITHOUT_URING
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "plocate, a much faster locate"
|
||||
HOMEPAGE = "https://plocate.sesse.net/"
|
||||
DESCRIPTION = "plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system."
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
DEPENDS = "zstd liburing"
|
||||
|
||||
SRC_URI = "https://plocate.sesse.net/download/${BP}.tar.gz \
|
||||
file://0001-Include-linux-stat.h-only-when-sys-stat.h-is-not-inc.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "3b7e4741b4aa2ec044e53eff06474a32a3fb1e928b9382351fe79d4c27fb0049"
|
||||
Reference in New Issue
Block a user