git: libutil: Create a <util.h> symlink.

Alex Hornung ahornung at gmail.com
Tue May 10 23:31:57 PDT 2011


This commit broke heimdal in pkgsrc it seems[1]. It is now using util.h,
which redefines its local "pidfile" define.

I'm not sure this also happened without the symlink, but it seems it
built just fine in older bulk builds.

Regards,
Alex

[1]:
http://avalon.dragonflybsd.org/reports/x86_64/2.11/20110510.2020/heimdal-1.1nb5/build.log

On 29/04/11 02:33, Sascha Wildner wrote:
> commit ff454034bd0ac6a1fb6b0df1e119c53c02a93119
> Author: Sascha Wildner <saw at online.de>
> Date:   Fri Apr 29 03:32:53 2011 +0200
> 
>     libutil: Create a <util.h> symlink.
>     
>     As stuff from NetBSD goes into our libutil, pkgsrc starts detecting that
>     and assumes we have a <util.h> header, too. But ours is named <libutil.h>
>     due to FreeBSD heritage.
>     
>     In an attempt to make life easier and not have to patch packages for this
>     every time, symlink <util.h> to <libutil.h> for now.
>     
>     However, it could well be that other packages test for the existence of
>     <util.h> and (upon finding it) assume we have some NetBSD function in
>     libutil which we don't have. But we'll see.
>     
>     As-proposed-by: y0netan1
> 
> Summary of changes:
>  lib/libutil/Makefile |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff454034bd0ac6a1fb6b0df1e119c53c02a93119
> 
> 






More information about the Commits mailing list