[REPOST] Re: [Pmk-devel] Re: pmk problems on FreeBSD and DragonFlyBSD
Brought to you by:
coudercd
|
From: Damien C. <mip...@us...> - 2005-09-28 20:38:23
|
On Sat, 17 Sep 2005 23:36:30 +0200
Damien Couderc <mip...@us...> wrote:
> On Thu, 15 Sep 2005 10:05:38 +0200
> Toma=C5=BE Bor=C5=A1tnar <tom...@am...> wrote:
>=20
> > * Building shared library name
> > Shared library support : yes.
>=20
> Hmm this is surprising, i thought we had no support for DFBSD yet
> for shared libs ;p I'm looking at which changes have been made for
> DFBSD (certainly in the ports).
My bad, the behavior of pmk on unsupported system was broken as i didn't =
initialise the associated hash table.
The following diff should fix that but now introduce a new problem as DFB=
SD has no support in pmkcomp.dat.
I'm going to find an account somewhere on a DFBSD box to add this support=
. In fact i think it should be almost the same than FreeBSD but i don't w=
ant to give you a diff without testing it first.
Here is the diff:
Index: pmk.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pmk/pmk/pmk.c,v
retrieving revision 1.139
diff -u -r1.139 pmk.c
--- pmk.c 21 Aug 2005 08:52:06 -0000 1.139
+++ pmk.c 17 Sep 2005 22:06:38 -0000
@@ -221,6 +221,9 @@
/* init on demand */
ppd->cfgt =3D NULL;
=20
+ /* init shared lib support */
+ ppd->slht =3D NULL;
+
return(ppd);
}
Damien
|