diff options
Diffstat (limited to 'dev-cpp/asio')
| -rw-r--r-- | dev-cpp/asio/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/asio/asio-1.22.1.ebuild (renamed from dev-cpp/asio/asio-1.20.0.ebuild) | 13 | ||||
| -rw-r--r-- | dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch | 29 |
3 files changed, 40 insertions, 4 deletions
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 2fd0b0345d66..727f3b5a8267 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,3 +1,3 @@ DIST asio-1.19.2.tar.bz2 1842597 BLAKE2B b2236c33432984ab660eba4c93be32374bb49f688a1e6a0711d7bac322cc4a7f817db209278f216468c6a72b9d3dd564cf298e1f49f8098c3fd9aec7acd66eb7 SHA512 07f9c29d8f02090b4d4b6a1867bcc07a8e9f3388556dff787ca3ba143022eeb63bfac0b5bc264076fed4db3b2e5ec6b7ff0ebefde40ba4753c832032a72d54cc -DIST asio-1.20.0.tar.bz2 1845826 BLAKE2B a768dc0b9ae380bef07d674507f7571d0bc47e182cdde10b24cee246814874dd7739c523b071dfede61a12059f52e04d7bbd309a03d93070bc1dd4640c253c19 SHA512 6421960abd2cf0c205cc50e86adfe492bca2870b486328b4825dc0cefc9c40cdc085516d474c23e15a73f4c108c0e69add5fab6dbe594a1e53636c5c3027e4c5 DIST asio-1.21.0.tar.bz2 1967398 BLAKE2B 95e0ba44910e7450e614011b487acac0cd292302c0f502ec678639b70af7e6f9b86ee2c50c7f7e3e3437ce4474323e44b5e371c08f3a9ed464ffb3f428de728b SHA512 62252b2d3ca4fb99579c5fe57bf64b700792198dd7fa45acb4af7f64e83494bade1885b848f9e364f4c42d9db025841324cbd9a0fd3fe45526e7e4be6f60f8c0 +DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479 diff --git a/dev-cpp/asio/asio-1.20.0.ebuild b/dev-cpp/asio/asio-1.22.1.ebuild index b9c0573ea0cd..24fbd3738b02 100644 --- a/dev-cpp/asio/asio-1.20.0.ebuild +++ b/dev-cpp/asio/asio-1.22.1.ebuild @@ -1,10 +1,13 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2022 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools + DESCRIPTION="Asynchronous Network Library" HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" -SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" +#SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" +SRC_URI="https://deac-ams.dl.sourceforge.net/project/asio/${PN}/${PV}%20%28Stable%29/${P}.tar.bz2" LICENSE="Boost-1.0" SLOT="0" @@ -18,13 +21,17 @@ REQUIRED_USE="test? ( ssl )" RDEPEND="dev-libs/boost:= ssl? ( !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) + libressl? ( >=dev-libs/libressl-3.5.0:0= ) )" DEPEND="${RDEPEND}" +PATCHES="${FILESDIR}/asio-1.22.1-cpp20ex.patch" + src_prepare() { default + eautoreconf + if ! use test; then # Don't build nor install any examples or unittests # since we don't have a script to run them diff --git a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch new file mode 100644 index 000000000000..55de22b8a136 --- /dev/null +++ b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch @@ -0,0 +1,29 @@ +The cpp20 dir doesn't exist +https://github.com/chriskohlhoff/asio/issues/1026 + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17 + endif + + if HAVE_CXX20 +-EXAMPLES_CPP20 = examples/cpp20 + endif + + SUBDIRS = \ +@@ -23,7 +22,6 @@ SUBDIRS = \ + $(EXAMPLES_CPP11) \ + $(EXAMPLES_CPP14) \ + $(EXAMPLES_CPP17) \ +- $(EXAMPLES_CPP20) \ + tests + + DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests +--- a/configure.ac ++++ b/configure.ac +@@ -241,4 +241,4 @@ AC_OUTPUT([ + src/examples/cpp11/Makefile + src/examples/cpp14/Makefile + src/examples/cpp17/Makefile +- src/examples/cpp20/Makefile]) ++ ]) |
