[MacPorts] #68078: rb-calendar @1.11r: error: call to undeclared library function 'strcmp'

MacPorts noreply at macports.org
Tue Aug 29 09:25:59 UTC 2023


#68078: rb-calendar @1.11r: error: call to undeclared library function 'strcmp'
--------------------------+--------------------
  Reporter:  ryandesign   |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:
      Port:  rb-calendar  |
--------------------------+--------------------

Comment (by ryandesign):

 rb-calendar 1.11r is from 2002.

 A newer version 1.11.4r is available from 2008 but it still has this
 issue.

 getdate.y is in gnulib and has been renamed to
 [https://github.com/coreutils/gnulib/blob/master/lib/parse-datetime.y
 parse-datetime.y]. Probably these issues have been fixed along the way and
 we can backport the fixes.

 One problem, for example, is that getdate.y only includes <string.h> if
 `STDC_HEADERS` is defined, but nothing causes it to be defined.
 [https://github.com/coreutils/gnulib/commit/ceb979c756aa8ee2e0fd69864199f6ff0a179fed
 gnulib fixed that in 2003] but rb-calendar did not pick up that change.

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


More information about the macports-tickets mailing list