[MacPorts] #67599: texmaker @5.1.2_1 build failure: call to undeclared function 'lseek'

MacPorts noreply at macports.org
Fri Jul 12 21:10:03 UTC 2024


#67599: texmaker @5.1.2_1 build failure: call to undeclared function 'lseek'
-----------------------+----------------------
  Reporter:  NewBBpy   |      Owner:  harens
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  texmaker  |
-----------------------+----------------------
Changes (by ryandesign):

 * cc: khorton, dzuolo, ryandesign (added)


Comment:

 The files that need to be changed are in the directory identified by the
 command `port work texmaker`. But the problem was fixed in texmaker 5.1.4
 via this change:

 {{{#!diff
 --- texmaker-5.1.3/texmaker.pro 2022-04-28 00:30:02.000000000 -0500
 +++ texmaker-5.1.4/texmaker.pro 2023-04-30 07:59:36.000000000 -0500
 @@ -1148,6 +1148,7 @@

  DEFINES += PREFIX=\\\"$${PREFIX}\\\"
  DEFINES +=_FX_CPU_=_FX_X64_
 +DEFINES += HAVE_UNISTD_H


  INCLUDEPATH +=$${QTDIR}/include/
 }}}

 I'll add a patch to fix that shortly and then submit a PR to update to
 5.1.4, so if you wait an hour and then `sudo port selfupdate`, you should
 be able to install the port without needing to patch anything manually.

 I could find no option to have texmaker use MacPorts copies of zlib and
 the many other libraries texmaker bundles. I'll submit that suggestion to
 the developer.

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


More information about the macports-tickets mailing list