From fbae5800c59a95522d4460080d9ab73c1493d868 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 18 Jan 2012 16:16:36 +0100 Subject: 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 9522f53d78e887a4081f028662e6ae9bda6a04c7) --- main/djbdns/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD index 148ab2ec3..f47a180bf 100644 --- a/main/djbdns/APKBUILD +++ b/main/djbdns/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa 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() { -- cgit v1.2.3