From nobody Wed Oct 30 13:49:53 2024 X-Original-To: dev-commits-ports-all@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 4XdpRW58Jpz5bP9Q for ; Wed, 30 Oct 2024 13:50:31 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdpRW36Bmz4mfH for ; Wed, 30 Oct 2024 13:50:31 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730296231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TIK36qLGiULe2u913vQ/svpmJ+jeWsdRTmQjlWarDrA=; b=M3o3zYWNS6vKHKVkZnpA9i2ZgzIRUcE2Yb+sBSk8lSY2MDZh1EkPjf7s1pFwhAapog/Eo9 FWamZ4R6Agzx8409kJSVpj5oLzujSz/F4+z156qcq/eosKC/d+zThsZUbLwmOEvQJzC1v2 c58YdzYKS+GVCU4QF4LheZfMQLdRMKqOayRxXnRDx5/p/K6cJUhDx2zv2dG/5fJalQBBI8 sqnWLnZyNWaEzdOi+PWXHz6j16j1VErkjr2CVEHKxnwmfD2yCS2UHi0wRaIDunsJGEYDmK v7EBRTfMlscwN5+FyXcz2ldeMtvUfj22cKNPXn+dyw269xvk4g6h5/T4KaUTlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730296231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TIK36qLGiULe2u913vQ/svpmJ+jeWsdRTmQjlWarDrA=; b=e3mmBY7ZcHkweU/Hj5BHHtzcDQiyNffo1+/Pgdx6Wt4XvRE2fDndRQOMRc447It6M+JfFW 5RsGEQr1tVcNJVT63KbMvENtveiHq18+f3QTGaePNU7sB+Za1NoDE69i/Nc/1UUMjXZQvb wEc9fqzjWzXT2x7yejs0D978NUjbBhQhAzGkZFH+cRJYe0lFyxq8TCDFnajJ+X2G2OcyFo DGpG5uITBNt6blEkDmSaY3hlGSQe/V6km9VlGvW8lf05guxSdO8Q2W+gRAmy2ns6nj7P1T Wy8EkuXCW8opVag6wzG6WkZ0JM178AdbAhXMcXxCHJoZydhum4AUVap8+oTk9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730296231; a=rsa-sha256; cv=none; b=TeAti74g2bcZ9fUH4GDckhY89F0stEouqoHcXJAinv+6SR6xEpxrYQyte2fU6dptGRG/3Y NCFvCO7DbXLEqbdL3KRfmNzWadC5rzyINgwGiRM58UYrVIAisLpTEIocPx19TuJHrF1QSD jJtz+UExzGk6E81/ovzjEuMbbaYeKDzCrZZxs+6BXRouahd27A5AgmZqLD5lpzSJZ3FjJZ 7nqmS91diCCfZ1p7viYhKkBZNK+nK7Lay1DuQZuAtirU6w5ZYs9QmMsKM19eYZG8t3YNDk uxTVHeg0FR0EwS7qSijw4WhzHXaLX4EPNZq386bnvhnUUExotFnzP8xoqyu94A== Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 "WR4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XdpRW2b0QzK5f for ; Wed, 30 Oct 2024 13:50:31 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5cb72918bddso8750071a12.3 for ; Wed, 30 Oct 2024 06:50:31 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXrHW02ftGupE6/gBTRP8vvjBE7Gx21mm+QeKlMjy+7vkzEte4608ZalzNq6xpG3p+Ahqo1nQPyisjrugNPTF02FDUViQk=@freebsd.org X-Gm-Message-State: AOJu0YyuNredLgUFS/bk5gRIpxlzEgaSWBX3LzHj8JwprxtgQ6JufXV8 fPeG3NvDasxzeCnhtEjGKBFkVLMRoWsZTplYvFG8L6dXlYdrmJGMuCimghqFFIyhWIRnfdg7lby OPaaSualObEWThofb+9pfeAZcqTH/s6eFbAfB3A== X-Google-Smtp-Source: AGHT+IEnNK5fVf68Mr6XuD5TfgeL0wQglAGdscB/TJ+VBzCOIi49Z7MkdbkPqBp9BWBwDAWl+NsLMJg/oIvbDkpLNv4= X-Received: by 2002:a05:6402:1d4f:b0:5cb:88ee:645a with SMTP id 4fb4d7f45d1cf-5cbbf8c1ed2mr12685151a12.16.1730296230279; Wed, 30 Oct 2024 06:50:30 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 References: <202410301343.49UDhiv8032026@gitrepo.freebsd.org> In-Reply-To: <202410301343.49UDhiv8032026@gitrepo.freebsd.org> From: Po-Chuan Hsieh Date: Wed, 30 Oct 2024 21:49:53 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: e639f6100447 - main - devel/libftdi1: Fix build with swig 4.3.0+ To: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000299d300625b1fcf3" --000000000000299d300625b1fcf3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Oct 30, 2024 at 9:43=E2=80=AFPM Po-Chuan Hsieh wrote: > The branch main has been updated by sunpoet: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=3De639f6100447a286904df65f14b45= fa16a11388b > > commit e639f6100447a286904df65f14b45fa16a11388b > Author: Po-Chuan Hsieh > AuthorDate: 2024-10-30 13:43:18 +0000 > Commit: Po-Chuan Hsieh > CommitDate: 2024-10-30 13:43:18 +0000 > > devel/libftdi1: Fix build with swig 4.3.0+ > It should be "dns/py-ldns: Fix build with swig 4.3.0+" > Approved by: portmgr (blanket) > --- > dns/ldns/files/patch-swig | 77 > +++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) > > diff --git a/dns/ldns/files/patch-swig b/dns/ldns/files/patch-swig > new file mode 100644 > index 000000000000..9d93eddf8f58 > --- /dev/null > +++ b/dns/ldns/files/patch-swig > @@ -0,0 +1,77 @@ > +--- contrib/python/ldns_buffer.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_buffer.i > +@@ -45,7 +45,7 @@ > + /* Result generation, appends (ldns_buffer *) after the result. */ > + %typemap(argout, noblock=3D1) (ldns_buffer **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > ++ $result =3D SWIG_AppendOutput($result, > + SWIG_NewPointerObj(SWIG_as_voidptr($1_buf), > + SWIGTYPE_p_ldns_struct_buffer, SWIG_POINTER_OWN | 0)); > + } > +--- contrib/python/ldns_key.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_key.i > +@@ -38,7 +38,7 @@ > + /* result generation */ > + %typemap(argout,noblock=3D1) (ldns_key **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, > SWIG_POINTER_OWN | 0 )); > ++ $result =3D SWIG_AppendOutput($result, > SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, > SWIG_POINTER_OWN | 0 )); > + } > + > + %typemap(argout) ldns_rdf *r "Py_INCREF($input);" > +--- contrib/python/ldns_packet.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_packet.i > +@@ -45,7 +45,7 @@ > + /* Result generation, appends (ldns_pkt *) after the result. */ > + %typemap(argout,noblock=3D1) (ldns_pkt **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > ++ $result =3D SWIG_AppendOutput($result, > + SWIG_NewPointerObj(SWIG_as_voidptr($1_pkt), > + SWIGTYPE_p_ldns_struct_pkt, SWIG_POINTER_OWN | 0 )); > + } > +--- contrib/python/ldns_rdf.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_rdf.i > +@@ -45,7 +45,7 @@ > + /* Result generation, appends (ldns_rdf *) after the result. */ > + %typemap(argout, noblock=3D1) (ldns_rdf **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > ++ $result =3D SWIG_AppendOutput($result, > + SWIG_NewPointerObj(SWIG_as_voidptr($1_rdf), > + SWIGTYPE_p_ldns_struct_rdf, SWIG_POINTER_OWN | 0)); > + } > +--- contrib/python/ldns_resolver.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_resolver.i > +@@ -45,7 +45,7 @@ > + /* Result generation, appends (ldns_resolver *) after the result. */ > + %typemap(argout,noblock=3D1) (ldns_resolver **r) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > ++ $result =3D SWIG_AppendOutput($result, > + SWIG_NewPointerObj(SWIG_as_voidptr($1_res), > + SWIGTYPE_p_ldns_struct_resolver, SWIG_POINTER_OWN | 0 )); > + } > +--- contrib/python/ldns_rr.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_rr.i > +@@ -45,7 +45,7 @@ > + /* Result generation, appends (ldns_rr *) after the result. */ > + %typemap(argout, noblock=3D1) (ldns_rr **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > ++ $result =3D SWIG_AppendOutput($result, > + SWIG_NewPointerObj(SWIG_as_voidptr($1_rr), > + SWIGTYPE_p_ldns_struct_rr, SWIG_POINTER_OWN | 0 )); > + } > +--- contrib/python/ldns_zone.i.orig 2024-07-20 05:07:42 UTC > ++++ contrib/python/ldns_zone.i > +@@ -39,7 +39,7 @@ > + /* result generation */ > + %typemap(argout,noblock=3D1) (ldns_zone **) > + { > +- $result =3D SWIG_Python_AppendOutput($result, > SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, > SWIG_POINTER_OWN | 0 )); > ++ $result =3D SWIG_AppendOutput($result, > SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, > SWIG_POINTER_OWN | 0 )); > + } > + > + %nodefaultctor ldns_struct_zone; //no default constructor & destructor > --000000000000299d300625b1fcf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 30, 2024 at 9:43=E2=80=AFPM P= o-Chuan Hsieh <sunpoet@freebsd.or= g> wrote:


=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 portmgr (blanket)
---
=C2=A0dns/ldns/files/patch-swig | 77 ++++++++++++++++++++++++++++++++++++++= +++++++++
=C2=A01 file changed, 77 insertions(+)

diff --git a/dns/ldns/files/patch-swig b/dns/ldns/files/patch-swig
new file mode 100644
index 000000000000..9d93eddf8f58
--- /dev/null
+++ b/dns/ldns/files/patch-swig
@@ -0,0 +1,77 @@
+--- contrib/python/ldns_buffer.i.orig=C2=A0 2024-07-20 05:07:42 UTC
++++ contrib/python/ldns_buffer.i
+@@ -45,7 +45,7 @@
+ /* Result generation, appends (ldns_buffer *) after the result. */
+ %typemap(argout, noblock=3D1) (ldns_buffer **)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result,
++=C2=A0 $result =3D SWIG_AppendOutput($result,
+=C2=A0 =C2=A0 =C2=A0 SWIG_NewPointerObj(SWIG_as_voidptr($1_buf),
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 SWIGTYPE_p_ldns_struct_buffer, SWIG_POINTER_OW= N | 0));
+ }
+--- contrib/python/ldns_key.i.orig=C2=A0 =C2=A0 =C2=A02024-07-20 05:07:42 = UTC
++++ contrib/python/ldns_key.i
+@@ -38,7 +38,7 @@
+ /* result generation */
+ %typemap(argout,noblock=3D1) (ldns_key **)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(S= WIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN |=C2= =A0 0 ));
++=C2=A0 $result =3D SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_= voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN |=C2=A0 0 ));=
+ }
+
+ %typemap(argout) ldns_rdf *r "Py_INCREF($input);"
+--- contrib/python/ldns_packet.i.orig=C2=A0 2024-07-20 05:07:42 UTC
++++ contrib/python/ldns_packet.i
+@@ -45,7 +45,7 @@
+ /* Result generation, appends (ldns_pkt *) after the result. */
+ %typemap(argout,noblock=3D1) (ldns_pkt **)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result,
++=C2=A0 $result =3D SWIG_AppendOutput($result,
+=C2=A0 =C2=A0 =C2=A0SWIG_NewPointerObj(SWIG_as_voidptr($1_pkt),
+=C2=A0 =C2=A0 =C2=A0 =C2=A0SWIGTYPE_p_ldns_struct_pkt, SWIG_POINTER_OWN |= =C2=A0 0 ));
+ }
+--- contrib/python/ldns_rdf.i.orig=C2=A0 =C2=A0 =C2=A02024-07-20 05:07:42 = UTC
++++ contrib/python/ldns_rdf.i
+@@ -45,7 +45,7 @@
+ /* Result generation, appends (ldns_rdf *) after the result. */
+ %typemap(argout, noblock=3D1) (ldns_rdf **)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result,
++=C2=A0 $result =3D SWIG_AppendOutput($result,
+=C2=A0 =C2=A0 =C2=A0SWIG_NewPointerObj(SWIG_as_voidptr($1_rdf),
+=C2=A0 =C2=A0 =C2=A0 =C2=A0SWIGTYPE_p_ldns_struct_rdf, SWIG_POINTER_OWN | = 0));
+ }
+--- contrib/python/ldns_resolver.i.orig=C2=A0 =C2=A0 =C2=A0 =C2=A0 2024-07= -20 05:07:42 UTC
++++ contrib/python/ldns_resolver.i
+@@ -45,7 +45,7 @@
+ /* Result generation, appends (ldns_resolver *) after the result. */
+ %typemap(argout,noblock=3D1) (ldns_resolver **r)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result,
++=C2=A0 $result =3D SWIG_AppendOutput($result,
+=C2=A0 =C2=A0 =C2=A0SWIG_NewPointerObj(SWIG_as_voidptr($1_res),
+=C2=A0 =C2=A0 =C2=A0 =C2=A0SWIGTYPE_p_ldns_struct_resolver, SWIG_POINTER_O= WN |=C2=A0 0 ));
+ }
+--- contrib/python/ldns_rr.i.orig=C2=A0 =C2=A0 =C2=A0 2024-07-20 05:07:42 = UTC
++++ contrib/python/ldns_rr.i
+@@ -45,7 +45,7 @@
+ /* Result generation, appends (ldns_rr *) after the result. */
+ %typemap(argout, noblock=3D1) (ldns_rr **)
+ {
+-=C2=A0 $result =3D SWIG_Python_AppendOutput($result,
++=C2=A0 $result =3D SWIG_AppendOutput($result,
+=C2=A0 =C2=A0 =C2=A0SWIG_NewPointerObj(SWIG_as_voidptr($1_rr),
+=C2=A0 =C2=A0 =C2=A0 =C2=A0SWIGTYPE_p_ldns_struct_rr, SWIG_POINTER_OWN |= =C2=A0 0 ));
+ }
+--- contrib/python/ldns_zone.i.orig=C2=A0 =C2=A0 2024-07-20 05:07:42 UTC ++++ contrib/python/ldns_zone.i
+@@ -39,7 +39,7 @@
+ /* result generation */
+ %typemap(argout,noblock=3D1) (ldns_zone **)
+ {
+- $result =3D SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as= _voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN |=C2=A0 0 = ));
++ $result =3D SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidpt= r($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN |=C2=A0 0 ));
+ }
+
+ %nodefaultctor ldns_struct_zone; //no default constructor & destructo= r
--000000000000299d300625b1fcf3--