summaryrefslogtreecommitdiff
path: root/user/boost/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-11-27 11:01:15 -0600
committerZach van Rijn <me@zv.io>2022-11-27 11:06:29 -0600
commit148391a5a9a63785c6daaf6a82eb5bd72ac29272 (patch)
tree62a3eac0bd851f214c91439e51802687ffb4a615 /user/boost/APKBUILD
parentc9f86d7a0fdadc3a9b9d290be2e4072610680193 (diff)
downloadpackages-148391a5a9a63785c6daaf6a82eb5bd72ac29272.tar.gz
packages-148391a5a9a63785c6daaf6a82eb5bd72ac29272.tar.bz2
packages-148391a5a9a63785c6daaf6a82eb5bd72ac29272.tar.xz
packages-148391a5a9a63785c6daaf6a82eb5bd72ac29272.zip
user/boost: add patches for python 3.11. fixes #890.
Diffstat (limited to 'user/boost/APKBUILD')
-rw-r--r--user/boost/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/user/boost/APKBUILD b/user/boost/APKBUILD
index 2d013729c..9e8e7f9f0 100644
--- a/user/boost/APKBUILD
+++ b/user/boost/APKBUILD
@@ -3,7 +3,7 @@
pkgname=boost
pkgver=1.79.0
_pkgver=$(printf '%s' "$pkgver" | tr . _)
-pkgrel=0
+pkgrel=1
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
@@ -13,7 +13,10 @@ depends_dev="linux-headers"
makedepends="$depends_dev byacc bzip2-dev flex python3-dev xz-dev zlib-dev
zstd-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://boostorg.jfrog.io/artifactory/main/release/${pkgver}/source/${pkgname}_${_pkgver}.tar.bz2"
+source="https://boostorg.jfrog.io/artifactory/main/release/${pkgver}/source/${pkgname}_${_pkgver}.tar.bz2
+ python-311-fix-enum.patch
+ python-311-fix-open.patch
+ "
builddir="$srcdir/${pkgname}_${_pkgver}"
@@ -146,4 +149,6 @@ _pyversion() {
$1 -c 'import sys; print("%i.%i" % (sys.version_info.major, sys.version_info.minor))'
}
-sha512sums="70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312 boost_1_79_0.tar.bz2"
+sha512sums="70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312 boost_1_79_0.tar.bz2
+04b9bcbd37cf660450aa4ff27b32db514d669caa378a25158d6d1e71ef0b42ea097e9dfda01774fbe80487db0f80d809d10b42e5ebc464f9faff02379bead98d python-311-fix-enum.patch
+4b517dc36719e4e4666d32822a65e650496f9ec534232ae96500538bf8182ce72e08bda3786a598330babda1bc169afa9b38fbc9d5a63d2dc633c03ba428a060 python-311-fix-open.patch"