Skip to content

asio: update to 1.28.0 #685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions meta-oe/recipes-support/asio/asio_1.20.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ LICENSE = "BSL-1.0"

DEPENDS = "openssl"

SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
SRC_URI = " \
${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2 \
file://0001-Add-the-pkgconfigdir-location.patch \
"

inherit autotools

ALLOW_EMPTY:${PN} = "1"

LIC_FILES_CHKSUM = "file://COPYING;md5=416f4cc4f79551b690babb14ef1a5799"
LIC_FILES_CHKSUM = "file://COPYING;md5=ff668366bbdb687b6029d33a5fe4b999"

SRC_URI[sha256sum] = "204374d3cadff1b57a63f4c343cbadcee28374c072dc04b549d772dbba9f650c"

SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
SRC_URI[sha256sum] = "d0ddc2361abd2f4c823e970aaf8e28b4b31ab21b1a68af16b114fc093661e232"

PACKAGECONFIG ??= "boost"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 248e87869d748cfb72d3a5d3b2b91ad178172e30 Mon Sep 17 00:00:00 2001
From: Vasileios Anagnostopoulos <[email protected]>
Date: Tue, 9 May 2023 12:48:29 +0200
Subject: [PATCH] Add the pkgconfigdir location

This change is necessary, because while building asio in yocto the
compilation is failing and is complaining because the variable is
undefined

Signed-off-by: Vasileios Anagnostopoulos <[email protected]>
Upstream status: Submitted [https://github.com/chriskohlhoff/asio/pull/1294]
---
asio/Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index b7760851..bc4f75b3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip

pkgconfig_DATA = asio.pc
+pkgconfigdir = $(libdir)/pkgconfig

SUBDIRS = include src

--
2.34.1