Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 09:45:49 +0100
From:      Moin Rahman <bofh@freebsd.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: libX changed its libnameA.h to libnameB.h
Message-ID:  <2F2001CB-8433-4B56-8303-23D3C8E40E42@freebsd.org>
In-Reply-To: <CAFDf7UKn-jEXoT0KauEVqRK1LYVv=6R9mfvYZFsstbi-gV4D1Q@mail.gmail.com>
References:  <CAFDf7UKmhvqN3uu5BoEBpqMd3o3pZDeBp2J1=0uavpaYyfKn6g@mail.gmail.com> <47C52E85-141A-4FF1-BCD2-9ACBE50CDE27@freebsd.org> <CAFDf7UKn-jEXoT0KauEVqRK1LYVv=6R9mfvYZFsstbi-gV4D1Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_32FF2BB3-69F8-460B-8C76-1EE9B86D9EA0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Feb 17, 2024, at 9:43 AM, Nuno Teixeira <eduardo@freebsd.org> =
wrote:
>=20
> Hello Moin!
>=20
> I will try rename on src code and check if functionality is ok.
>=20
> Just a question: is it normal a lib do such changes?
Not at all.

> Taking a look at changelog I can't see nothing related:
> =
https://www.mail-archive.com/netsurf-commits@netsurf-browser.org/msg17336.=
html
>=20
> It smells like new API... In that case, consumers should change to =
support it.
In that case you have run out of luck. :D

> Cheers,
>=20
>=20
> Moin Rahman <bofh@freebsd.org> escreveu (s=C3=A1bado, 17/02/2024 =C3=A0(=
s) 08:11):
>>=20
>>=20
>>=20
>>> On Feb 17, 2024, at 9:08 AM, Nuno Teixeira <eduardo@freebsd.org> =
wrote:
>>>=20
>>> Hello all,
>>>=20
>>> I'm facing a build error causes from graphics/libnsgif that changed
>>> from 0.2.1 to 1.0.0:
>>> -include/libnsgif.h
>>> +include/nsgif.h
>>>=20
>>> Now graphics/imv complains:
>>>=20
>>> ./src/backend_libnsgif.c:9:10: fatal error: 'libnsgif.h' file not =
found
>>>   9 | #include <libnsgif.h>
>>>     |          ^~~~~~~~~~~~
>>> 1 error generated.
>>>=20
>>> While I'm looking from upstream recomendation on fix, how do I quick =
fix it?
>>> Is it possible to rename libnsgif.h -> nsgif.h in source code?
>>>=20
>>> Also googling about this issue didn't get results since most img =
pkgs
>>> do not have this lib default on.
>>>=20
>>> Thanks,
>>>=20
>>> --
>>> Nuno Teixeira
>>> FreeBSD Committer (ports)
>>>=20
>>=20
>> Depends. If the function names and arguments are also same you can =
just
>> rename in the source code.
>>=20
>>=20
>=20
>=20
> --
> Nuno Teixeira
> FreeBSD Committer (ports)


--Apple-Mail=_32FF2BB3-69F8-460B-8C76-1EE9B86D9EA0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXQcj1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJFjmA//R5B/AFVvU7AOXmc05AVttb8dwV7iXYelM9YziaLrX53AppjuzT2EteG8
qYX56FBOq5q7P9a7jRQn9z78saMk49LbFVR2LZVpK44gdfYCIMXQn4vf+w9OahWJ
vqUCkmMEZtupsIPBxxBqFH4WXvMgNSgXp0Nhvtr+FPebqASMFqiPBLHb9THhRZNl
CLARvBH9E/tGG84UIOHtPipJkBK0Oo9Vl/7lAyEn8fWsIUFBIHoU479HV3YEeC6e
KOdaa30pbpxyLM1+XkH7r1Z8N0KfarnF599scWJ4La6XTQwTy7IW5AQOBODVickn
fyf82Fl1jZ74U7TLgPhWfH2y5mgSQ1MOEGgBvNC9zkm6B7hwOY0sFFKqrw0HE8KI
i6I/d3s33I9MO+rU0pxYiA4x2uevzMPQevFf9iKkpxwWkh065MTpAxuOt8Iqclbz
6OQyGGlKCwL0OlUk0DP/ZweTlS7Ecw24j/uulJbLAPZweIoL7oNix9A8tg3QTMSu
TRw/g9YfclnVHtosvHL32cl44L0dK9N7/KhvDmmiff/DWZViKrPKWRg7S0HhqNgW
AzD6Mx6W7XX2wtykEoOdqJ5NcKwmR52fu87PxhS1bULvHdZ/yoNlEjV5GqwVZtNe
pyRgl0+X3E0lJuAnu48jJzR8z/w7FZVysCv/HsYwOVSuQUv+TAY=
=kI1P
-----END PGP SIGNATURE-----

--Apple-Mail=_32FF2BB3-69F8-460B-8C76-1EE9B86D9EA0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F2001CB-8433-4B56-8303-23D3C8E40E42>