summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>2023-05-09 13:11:58 +0200
committerKhem Raj <raj.khem@gmail.com>2023-05-09 17:27:51 -0700
commitd0f8afe666cd15a0997b1e20e5142bc0cf93451e (patch)
treefad19ac59e77a41f48d4cdb277f9caddec9cf343
parenta79c689f60aef90c69efcb458324dc0b42cecec5 (diff)
downloadmeta-openembedded-d0f8afe666cd15a0997b1e20e5142bc0cf93451e.tar.gz
asio: update to 1.28.0
License-Update: change in the copyright year [1] [1] https://github.com/chriskohlhoff/asio/commit/8d176a2c81e0b49ff11cf2c22dcccf504dc64aea Signed-off-by: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/asio/asio_1.28.0.bb (renamed from meta-oe/recipes-support/asio/asio_1.20.0.bb)11
-rw-r--r--meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch30
2 files changed, 36 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/asio/asio_1.20.0.bb b/meta-oe/recipes-support/asio/asio_1.28.0.bb
index cedcf9fee..ae721263d 100644
--- a/meta-oe/recipes-support/asio/asio_1.20.0.bb
+++ b/meta-oe/recipes-support/asio/asio_1.28.0.bb
@@ -9,17 +9,18 @@ LICENSE = "BSL-1.0"
9 9
10DEPENDS = "openssl" 10DEPENDS = "openssl"
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" 12SRC_URI = " \
13 ${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2 \
14 file://0001-Add-the-pkgconfigdir-location.patch \
15"
13 16
14inherit autotools 17inherit autotools
15 18
16ALLOW_EMPTY:${PN} = "1" 19ALLOW_EMPTY:${PN} = "1"
17 20
18LIC_FILES_CHKSUM = "file://COPYING;md5=416f4cc4f79551b690babb14ef1a5799" 21LIC_FILES_CHKSUM = "file://COPYING;md5=ff668366bbdb687b6029d33a5fe4b999"
19 22
20SRC_URI[sha256sum] = "204374d3cadff1b57a63f4c343cbadcee28374c072dc04b549d772dbba9f650c" 23SRC_URI[sha256sum] = "d0ddc2361abd2f4c823e970aaf8e28b4b31ab21b1a68af16b114fc093661e232"
21
22SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
23 24
24PACKAGECONFIG ??= "boost" 25PACKAGECONFIG ??= "boost"
25 26
diff --git a/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch b/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch
new file mode 100644
index 000000000..3f93e7e4b
--- /dev/null
+++ b/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch
@@ -0,0 +1,30 @@
1From 248e87869d748cfb72d3a5d3b2b91ad178172e30 Mon Sep 17 00:00:00 2001
2From: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>
3Date: Tue, 9 May 2023 12:48:29 +0200
4Subject: [PATCH] Add the pkgconfigdir location
5
6This change is necessary, because while building asio in yocto the
7compilation is failing and is complaining because the variable is
8undefined
9
10Signed-off-by: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>
11Upstream status: Submitted [https://github.com/chriskohlhoff/asio/pull/1294]
12---
13 asio/Makefile.am | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/Makefile.am b/Makefile.am
17index b7760851..bc4f75b3 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -1,6 +1,7 @@
21 AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip
22
23 pkgconfig_DATA = asio.pc
24+pkgconfigdir = $(libdir)/pkgconfig
25
26 SUBDIRS = include src
27
28--
292.34.1
30