Commit fbae5800 authored by Natanael Copa's avatar Natanael Copa

main/djbdns: fix tinydns on 64 bit - including uint32.h

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, including uint32.h

fixes #933
(cherry picked from commit 9522f53d)
parent 2c3d9526
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=djbdns
pkgver=1.05
pkgrel=40
pkgrel=42
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-z0-9]\+\.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