summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/0002-Create.c-include-linux-falloc.h-for-FALLOC_FL_ZERO_R.patch
blob: 145c65477ab37f86d1398ee264424e359747f6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From a22b2345b9773d362acd85dd4c4a6a3cda9100d4 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Tue, 12 Mar 2024 10:54:08 +0100
Subject: [PATCH] Create.c: include linux/falloc.h for FALLOC_FL_ZERO_RANGE
 definition

glibc provides this through fcntl.h but musl does not - should
be reported and fixed there.

Upstream-Status: Inappropriate [musl-specific issue]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 Create.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Create.c b/Create.c
index 8082f54..7071f0a 100644
--- a/Create.c
+++ b/Create.c
@@ -31,6 +31,7 @@
 #include	<signal.h>
 #include	<sys/signalfd.h>
 #include	<sys/wait.h>
+#include	<linux/falloc.h>
 
 static int round_size_and_verify(unsigned long long *size, int chunk)
 {
0702&id=0a83476cac91ee1ea19f4e220bb986b5e111751f'>commitdiffstats
path: root/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb
blob: 21be04720644eb2f6668877133a79e05197f282c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Guess OpenSSL include path"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c"

SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz "

SRC_URI[md5sum] = "e768fe2c07826b0ac9ea604c79f93032"
SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167"

DEPENDS += "openssl"

RDEPENDS_${PN}="perl-module-config perl-module-exporter perl-module-symbol perl-module-file-spec"

EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"

S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}"

inherit cpan

BBCLASSEXTEND = "native"