[MacPorts] #69462: libiconv @1.17: install errors on lib/encodings.def with an "incompatible function pointer types initializing" error.

MacPorts noreply at macports.org
Thu Mar 14 02:52:49 UTC 2024


#69462: libiconv @1.17: install errors on lib/encodings.def with an "incompatible
function pointer types initializing" error.
-----------------------+------------------------
  Reporter:  rbeyer    |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.9.1
Resolution:            |   Keywords:
      Port:  libiconv  |
-----------------------+------------------------

Comment (by ryandesign):

 I agree with the fix.
 [https://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=commit;h=40924a6249eb6bf75f48a3cdac7df15cd99bfbe7
 The parameter changed] from `int` to `size_t` in GNU libiconv 1.15 and we
 didn't notice and update our patch. We've been coasting along with a
 warning all this time.

 Apple made this change and a few others in [https://github.com/apple-oss-
 distributions/libiconv/commit/d5939135328109e5f591a4fa71faf71a24aa3917
 #diff-8fda0eedb7751769b03919b4932e2b3d3d2ffac13c6e9d4d816548d259e2a7a9
 version 41 of their libiconv] so I'll adopt their changes into the port.

 After version 64, Apple switched from GNU libiconv to Citrus libiconv.

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


More information about the macports-tickets mailing list