summaryrefslogtreecommitdiff
path: root/user/c-ares/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-09 04:41:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-09 04:41:24 +0000
commitdc2e6f35570e16e73479bfe5fc6d6c8156d8528c (patch)
tree3410488a6f1dedd5d3557a24187d2713a466a301 /user/c-ares/APKBUILD
parent529a6037918c01d1eb282d1ab3445e25be2de67d (diff)
downloadpackages-dc2e6f35570e16e73479bfe5fc6d6c8156d8528c.tar.gz
packages-dc2e6f35570e16e73479bfe5fc6d6c8156d8528c.tar.bz2
packages-dc2e6f35570e16e73479bfe5fc6d6c8156d8528c.tar.xz
packages-dc2e6f35570e16e73479bfe5fc6d6c8156d8528c.zip
user/c-ares: fix segfault with .onion TLD
Diffstat (limited to 'user/c-ares/APKBUILD')
-rw-r--r--user/c-ares/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/user/c-ares/APKBUILD b/user/c-ares/APKBUILD
index 5b33772a3..8b9cc81ee 100644
--- a/user/c-ares/APKBUILD
+++ b/user/c-ares/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=c-ares
pkgver=1.15.0
-pkgrel=0
+pkgrel=1
pkgdesc="Asynchronous DNS/name resolver library"
url="https://c-ares.haxx.se/"
arch="all"
@@ -11,10 +11,11 @@ license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
-source="https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"
+source="https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz
+ onion-segfault.patch
+ "
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,13 +27,12 @@ build() {
}
check() {
- cd "$builddir"
make -C test check
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50 c-ares-1.15.0.tar.gz"
+sha512sums="a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50 c-ares-1.15.0.tar.gz
+f26d4e981afc87fe734893d91210f1d5cbdf841d7704acf41a964991ab669fffd0ffd661c24be84d67edc9e1d6804214e6e7188e77f6555c01c9ad8165f6fbfa onion-segfault.patch"