From nobody Sat Feb 17 08:43:47 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 4TcMlz1812z59hWJ for ; Sat, 17 Feb 2024 08:43:59 +0000 (UTC) (envelope-from eduardo@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 4TcMlz00kbz4m1W; Sat, 17 Feb 2024 08:43:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708159439; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KbpkHryqJJHjkSGWZcDqicOk3TPW0n53FTRbeAQMVHw=; b=T57mwJP9P/XR/RiIknvJO9c5jAO8mdtPlr2FlqEP+fuM5pGjRWcp8i81CDEmgeCtrd5OaL 2yKM7q0P7GlnAohEE3dLhOPhG6L+ScevFeoeR6N/6PAWbPvv/Xl1bohPPaYJNJyVrpPF+f MWt59YwXZ3ER5tJ42+HrVsGra0lBZZLd1+TxwY41dVME3MR0Dym0KYoLVCIrbiO3rt5mtT 5QR1bfD1MHZ761jO9SYciy9mpmsYxg0IEX0p8JyFvKPGm0YyBvXf79UdtWSdhSGC7rG4i5 mjcavq2MLEeUwI5KrSSK8fyaplkUa6T1C/TFMqo3QLPCXDsYYRMuJqeMI4GYmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708159439; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KbpkHryqJJHjkSGWZcDqicOk3TPW0n53FTRbeAQMVHw=; b=rKA8vLxPN/hClaSvQGuNiYzUWCmNLWjG91Acw9k0nYB0Tcb/jiToJ+y0PLTFSfbcwbuI5R SF8A87zeWvW91JOstmdFXEVFpAKlvivIM9GDnKi+erfBK1N+KM0WussUGyN1DEq9gzgTE4 8TnGkbkPflAl9M29jQ9OxnrbyKhzo2XlGV2xZ0k0duiNtwB7+Z4IdGhSdevE1lcPw3I9tK l8Vn9LxuMQMC2iUK5YoXV6xiavfdVcGqEdmGcBPG17rgTIa3iZGw8JAoyPvK2atntQgdS1 w0WEIEPZjHs3ys4RI4+2s2LIqGSrehyvT1aWL30cHUXVfPDoCcP/ptKkvlqitQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708159439; a=rsa-sha256; cv=none; b=qzN+3BKtN/baADDBZjI0owAh0bOB7ERQsH+eevMcisyLRYkfkaYLgF4tb3bqkYm6gPj9aF mAFcNKCXUM8xb4KE1r8KJ29y9iSO7v4pvtyCb1th491Aja2mVokqkVZ4Yz13JfJ8uCwigQ c57iOZZ6MvaAyCspKrvN9/h2JmSU0pb4Y4b/ckK8SEdKEHm5ueRD9nvj9/+X8oejrXxpJr UJeY0x7vQUZQJ4M+JtHEPHx63gmRHNwjc25tHwJdBgMbrYGVyLB8Dm+eO9r/Arfx3bX/6v 9c+ktj+wgo2yvMc+IkyIJSRjtaVlFQMWCcGLbE4gn3dJs5kvcYupq86MC/DUMw== Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TcMly62YRzg6N; Sat, 17 Feb 2024 08:43:58 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-42a4516ec5dso13451661cf.3; Sat, 17 Feb 2024 00:43:58 -0800 (PST) X-Gm-Message-State: AOJu0YxwWqT2vSBJAvx/Sne1WUjr60/h5wFQy2YIUAc7+32lSoX6Rv7r Kg359h+Ynj0ytcD2aAGcr/vxZqdTg5NIjWowXya80IaVEcXKDj1+kD+45jfVvCgrifzok3DfX5H rEbmKPWnBm9coSZfbntuTKDL3oJ0= X-Google-Smtp-Source: AGHT+IHjM+DogCg980rlLlPOvDrIZaXJXjQXpoz0FZZR397pC2kl/w3pImJpbeSJjZxTgHtAZUg0C8GxnmEGJimualM= X-Received: by 2002:ac8:584f:0:b0:42d:f80e:4e73 with SMTP id h15-20020ac8584f000000b0042df80e4e73mr570525qth.32.1708159438488; Sat, 17 Feb 2024 00:43:58 -0800 (PST) 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 References: <47C52E85-141A-4FF1-BCD2-9ACBE50CDE27@freebsd.org> In-Reply-To: <47C52E85-141A-4FF1-BCD2-9ACBE50CDE27@freebsd.org> From: Nuno Teixeira Date: Sat, 17 Feb 2024 08:43:47 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: libX changed its libnameA.h to libnameB.h To: Moin Rahman Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Moin! I will try rename on src code and check if functionality is ok. Just a question: is it normal a lib do such changes? Taking a look at changelog I can't see nothing related: https://www.mail-archive.com/netsurf-commits@netsurf-browser.org/msg17336.h= tml It smells like new API... In that case, consumers should change to support = it. Cheers, Moin Rahman escreveu (s=C3=A1bado, 17/02/2024 =C3=A0(s) = 08:11): > > > > > On Feb 17, 2024, at 9:08 AM, Nuno Teixeira wrote: > > > > Hello all, > > > > 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 > > > > Now graphics/imv complains: > > > > ./src/backend_libnsgif.c:9:10: fatal error: 'libnsgif.h' file not found > > 9 | #include > > | ^~~~~~~~~~~~ > > 1 error generated. > > > > While I'm looking from upstream recomendation on fix, how do I quick fi= x it? > > Is it possible to rename libnsgif.h -> nsgif.h in source code? > > > > Also googling about this issue didn't get results since most img pkgs > > do not have this lib default on. > > > > Thanks, > > > > -- > > Nuno Teixeira > > FreeBSD Committer (ports) > > > > Depends. If the function names and arguments are also same you can just > rename in the source code. > > -- Nuno Teixeira FreeBSD Committer (ports)