On Tue, Jan 29, 2008 at 10:47:36PM -0500, Dan McMahill wrote:
Joerg Sonnenberger wrote:
Module Name: pkgsrc
Committed By: joerg
Date: Tue Jan 15 22:56:57 UTC 2008
Modified Files:
pkgsrc/devel/pkg-config: distinfo
Added Files:
pkgsrc/devel/pkg-config/patches: patch-ca patch-cb
Log Message:
Restore cross-compiling ability.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 pkgsrc/devel/pkg-config/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/devel/pkg-config/patches/patch-ca \
pkgsrc/devel/pkg-config/patches/patch-cb
this breaks normal compiling. Take a look at the glib-1.2.8/configure
script produced by this patch and search for va_copy. You'll see that
main() is defined twice and the test for va_copy then fails. This causes a
build failure later on on NetBSD/alpha.
Does the attached patch work for you?
Joerg