Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 09:11:07 +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:  <47C52E85-141A-4FF1-BCD2-9ACBE50CDE27@freebsd.org>
In-Reply-To: <CAFDf7UKmhvqN3uu5BoEBpqMd3o3pZDeBp2J1=0uavpaYyfKn6g@mail.gmail.com>
References:  <CAFDf7UKmhvqN3uu5BoEBpqMd3o3pZDeBp2J1=0uavpaYyfKn6g@mail.gmail.com>

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

--Apple-Mail=_0782EBD6-B88C-4C5A-8496-6360096F6F96
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> 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

Depends. If the function names and arguments are also same you can just
rename in the source code.



--Apple-Mail=_0782EBD6-B88C-4C5A-8496-6360096F6F96
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+fvbm1phfAvJEFAmXQahtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJFs3w//fudwId4Vv2fT8LDZ5ItXNOuryOCp/Ab7RrmBcr3My4XSSF/y/NyhICJE
bqSQdN/Djcuk6aU2O9oBzmaMOHHppuEC8gldgfxfRk22rM+MWF7u6VIcnTmU8LeV
lSnPQ/UsbvtsSQxMB619/g0V2UOeSv4CTri5lnjRQXcLo7D9dm1JMAGCcsHU0sw0
71vVRlIUl50oT1O+c8t0sO0Nf13ceBsEtYAhyVHTfuopgNpdqOPo3hQJTZDFXn5p
SRd3hhZz0F2fiQPuWUs50y1oHEc2BMLklbQv5eRGWfAKbJozoCZLkS9+XU220Ssy
S0OWAjr6BEWjt64ZOOcqLFQyi7afKIdIiCJz9JXK0qqpgQBNQtXwgCsCHV0zDvco
+ZZ47/byjcbDT7Tu8YxjXBg7+djWeyFbkRFQ+EGzVGdNpYWBXNPBLKRF2+5zQQgE
9fq+7ms9wNNlIm51BGAooi0GNxj3SYUtFux9DSuUX6DRMNtWZjg7WjiErGSuI1zp
u4ixk/KVh2PmbV7nHJ70WxJyoPOvudqbqhxEemoFoVRuiW39Qp12nvOIBsAHFEed
m1bigL0cu1umRuUanoP5DyEw3OrpJz+DLlKcXAVOK3o/T7eaT+YQ7UVJNiNERTT4
BHBzGrggIMgf5oTop5OXn1cr2+JFZnBWcf+NukP6O5Wfq7OfBaM=
=KEWm
-----END PGP SIGNATURE-----

--Apple-Mail=_0782EBD6-B88C-4C5A-8496-6360096F6F96--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C52E85-141A-4FF1-BCD2-9ACBE50CDE27>