[MacPorts] #64559: ncplot @4.9.12: Use the right flags and compiler

MacPorts noreply at macports.org
Sat Jan 29 15:31:28 UTC 2022


#64559: ncplot @4.9.12: Use the right flags and compiler
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mf2k
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  ncplot      |
-------------------------+----------------------

Comment (by mf2k):

 Attempting to do this causes a build error:
 {{{
 :info:build /opt/local/var/macports/build/_opt_mports_macports-
 ports_science_ncplot/ncplot/work/compwrap/cc/usr/bin/clang -Wall -g -O2
 -I/opt/X11/include -DPNG -Wno-write-strings -Wno-overflow -c color.c
 :info:build In file included from global.c:11:
 :info:build ./define.h:14:10: fatal error: 'algorithm' file not found
 :info:build #include <algorithm>
 :info:build          ^~~~~~~~~~~
 }}}

 Apparently algorithm is in C++ and not C.

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


More information about the macports-tickets mailing list