[MacPorts] #35879: gnuplot: workaround for non-C99-compliant compiler (_Bool)
#35879: gnuplot: workaround for non-C99-compliant compiler (_Bool) --------------------------------------------+------------------------------- Reporter: mojca.miklavec.lists@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gnuplot --------------------------------------------+------------------------------- Following a report on the mailing list (gnuplot doesn't compile on Mac OS X 10.6 with Xcode 4.2 which doesn't have C99-compliant compiler) here's a patch that should solve the problem for that platform (and I hope that it will be applied upstream). If anyone else was bitten by this, please report. {{{ In file included from ./plot.h:46, from wxterminal/wxt_gui.h:113, from wxterminal/wxt_gui.cpp:96: ./mouse.h:189: error: variable or field 'set_ruler' declared void ./mouse.h:189: error: '_Bool' was not declared in this scope ./mouse.h:189: error: expected primary-expression before 'int' ./mouse.h:189: error: expected primary-expression before 'int' ./mouse.h:197: error: '_Bool' has not been declared In file included from wxterminal/wxt_gui.h:113, from wxterminal/wxt_gui.cpp:96: ./plot.h:53: error: '_Bool' does not name a type ./plot.h:54: error: '_Bool' does not name a type ./plot.h:55: error: '_Bool' does not name a type }}} https://sourceforge.net/tracker/index.php?func=detail&aid=3562307&group_id=2... Disclaimer: I'm not able to test this patch since I don't have access to old Xcode on 10.6. -- Ticket URL: <https://trac.macports.org/ticket/35879> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35879: gnuplot: workaround for non-C99-compliant compiler (_Bool) -------------------------------------+--------------------- Reporter: mojca.miklavec.lists@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gnuplot | -------------------------------------+--------------------- Changes (by mojca@…): * owner: macports-tickets@… => mojca@… -- Ticket URL: <https://trac.macports.org/ticket/35879#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35879: gnuplot: workaround for non-C99-compliant compiler (_Bool) -------------------------------------+--------------------- Reporter: mojca.miklavec.lists@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: gnuplot | -------------------------------------+--------------------- Changes (by mojca@…): * status: new => closed * resolution: => wontfix Comment: I'm closing this ticket. If anyone happen to be bitten by this problem and is able to test the patch, please speak up. If nobody has a problem with this, it doesn't make sense to patch anything. -- Ticket URL: <https://trac.macports.org/ticket/35879#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts