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