From nobody Sat Feb 17 08:45:49 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TcMpL4Wkdz59hNP for ; Sat, 17 Feb 2024 08:46:02 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcMpL1xSPz4myJ; Sat, 17 Feb 2024 08:46:02 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708159562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=v3UOV64bydfnDS1FApY/rcvuwM/Rk7otsoAR47o8lFc=; b=OX75lqI7GPNHingT6hAqoYDpOoil0uk9Eg7XDbIOdUYSHb4cn73o9z0z+oa2HreQnSpC4W uJppWOsmuw9XwKz/RTmKUFZ87S3OYNhC9esn+hGNYjej9x+e82CHWJJtXEWGOhJXfTe5G9 l7dLQUfrCbgnouiHZS3Nlhr9kLdAg5Xv5UXfCw95GRkahgv6itkAuy3Jgg9s56SSr9A1+m MYTWXfYQxBT88fVKB+xo5JZcJOobRncZF6tTFLYVieopIfCVx4Z9QXAm/WxpEvVgdYKkk/ 3BlZEtynazU5JxWDt5mrLfVrnY5xUsgIi+NiTdTtdZ5R/I+SQF4Cv0IUIJVWdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708159562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=v3UOV64bydfnDS1FApY/rcvuwM/Rk7otsoAR47o8lFc=; b=dyZFyBF++aCR3OPthiUpU194gXI3Dj0KdsVue5TgaJ7TX2gasXD6znRQvyGw69zaxPc7YN 3EDb6p8+Dc82bkwNXUmsLQVHM2nLHWmy8pBXMwcB+SCoH3O32RrXU+6Cayg/ZwSOJMkwF9 614jD4XuvJYz5UWXQp0cnlDjKwYnwuI2SqzLNYZNUX9z7OKxTHbeIG7Pkf+gggd5R3XlwB kTlOFakLJM8CXiZHaWhnoSBAhmyeQm12uKfpvskgH3zrtARN3yDZoOekErxX9JJaOZf9/r Xcf5MRRE3zHJZRQZF885j3QHV0ra5SPqq7t+uaAF7Jrast0UYaFMCtOeRVm8MQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708159562; a=rsa-sha256; cv=none; b=dC6enULt7OBAyRerr5hdo8KU2H4K136/ZgNGWFrHm8iYU/pPMiIweRPgC2rsgokV/xtlUn IuOdxpHJ/YKve4baMQz2T8xoj33FN/SDD/N36SgMoYp7P1Hxb/unL8hctufvBdaNLHRayj tdmWIXQdFWQBdOoM6ECTfCsmn7DliKyQfV5goH/oOEb/yQZ1QMiDb3w68jQFO7EOn4c5hN +7KOHvqbe4gUHTEYLtubq/IXN+JxuTQqIzZI93RniRFuVCapq2k+dGprFyv4LZ/Evwz0xE OZhm6Zg/ZAbH2+zEf3j17nvQNqD9MM0Vj7XrdwHWO1IWruyx1IQ9rorLhdGGiw== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TcMpK5cyjzhm6; Sat, 17 Feb 2024 08:46:01 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id b510894d (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sat, 17 Feb 2024 08:46:00 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_32FF2BB3-69F8-460B-8C76-1EE9B86D9EA0"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: libX changed its libnameA.h to libnameB.h From: Moin Rahman In-Reply-To: Date: Sat, 17 Feb 2024 09:45:49 +0100 Cc: FreeBSD Mailing List Message-Id: <2F2001CB-8433-4B56-8303-23D3C8E40E42@freebsd.org> References: <47C52E85-141A-4FF1-BCD2-9ACBE50CDE27@freebsd.org> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.700.6.1.1) --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 = 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 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 = 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 >>> | ^~~~~~~~~~~~ >>> 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--