[MacPorts] #71273: gnutls-devel @3.8.8: error: initializer element is not a compile-time constant

MacPorts noreply at macports.org
Sun Dec 1 16:52:38 UTC 2024


#71273: gnutls-devel @3.8.8: error: initializer element is not a compile-time
constant
---------------------------+-------------------------
  Reporter:  ryandesign    |      Owner:  Schamschula
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.4
Resolution:                |   Keywords:
      Port:  gnutls-devel  |
---------------------------+-------------------------

Comment (by freultwah):

 I had the same issue with an old GCC and I solved it like this:

 {{{
 --- lib/algorithms/groups.c.orig        2024-12-01 11:59:34.174872088
 +0000
 +++ lib/algorithms/groups.c     2024-12-01 12:00:33.118872865 +0000
 @@ -90,7 +90,13 @@
                 .tls_id = 25,
                 .pk = GNUTLS_PK_ECDSA,
         },
 -       group_x25519,
 +       {
 +               .name = "X25519",
 +               .id = GNUTLS_GROUP_X25519,
 +               .curve = GNUTLS_ECC_CURVE_X25519,
 +               .tls_id = 29,
 +               .pk = GNUTLS_PK_ECDH_X25519,
 +       },
  #ifdef ENABLE_GOST
         /* draft-smyshlyaev-tls12-gost-suites-06, Section 6 */
         {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71273#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list