mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
librepo: upgrade 1.14.4 -> 1.14.5
(From OE-Core rev: 4291f53127f0740a1004f0b6fb823b9823562c58) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
From 5c63ec2e2d4726268ace85e5c61727cbd811d982 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 27 Aug 2022 09:00:24 -0700
|
||||
Subject: [PATCH] metadata_downloader: Include unistd.h for lseek()
|
||||
|
||||
This is found when compiling on musl systems
|
||||
|
||||
Fixes
|
||||
|
||||
metadata_downloader.c:331:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
||||
lseek(fd_value, SEEK_SET, 0);
|
||||
^
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/263]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
librepo/metadata_downloader.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/librepo/metadata_downloader.c b/librepo/metadata_downloader.c
|
||||
index 123c77b..6604255 100644
|
||||
--- a/librepo/metadata_downloader.c
|
||||
+++ b/librepo/metadata_downloader.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
+#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "librepo/librepo.h"
|
||||
--
|
||||
2.37.2
|
||||
|
||||
@@ -8,10 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \
|
||||
file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
|
||||
file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
|
||||
file://0001-metadata_downloader-Include-unistd.h-for-lseek.patch \
|
||||
"
|
||||
|
||||
SRCREV = "2bd1041c741c85bc196ca01dcca1eae6099eb742"
|
||||
SRCREV = "f4b915be5e04e88263097f65addfcac5919fef41"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user