Commit 8320da39 authored by Natanael Copa's avatar Natanael Copa

main/djbdns: fix tinydns on 64 bit

The jumbo patch includes the 32bit version of the generated header files.
This might break 64 bit builds depending on unpacking timestamps etc.

We fix it by removing the generated headers

ref #933
parent f3e9b786
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=djbdns
pkgver=1.05
pkgrel=40
pkgrel=41
pkgdesc="Excellent high-performance DNS services"
url="http://cr.yp.to/djbdns.html"
arch="all"
......@@ -34,6 +34,9 @@ prepare() {
*.diff.gz) msg $i; gunzip -c "$srcdir"/$i | patch -p1 || return 1;;
esac
done
# remove all the generated headers. they came with the jumbo patch and should
# never have been there...
sed -n 's/^\([a-z]\+\.h\):.*/\1/gp' Makefile Makefile.sig | xargs rm -f
}
build() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment