[MacPorts] #13947: plib 1.8.4 doesn't build in Leopard
MacPorts
trac at macosforge.org
Fri Jan 18 07:44:30 PST 2008
#13947: plib 1.8.4 doesn't build in Leopard
---------------------------------------+------------------------------------
Reporter: rzilibowitz at yahoo.com.au | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------------+------------------------------------
Comment (by frederic.devernay at m4x.org):
adding #include <sys/types.h> at the top of src/ssg/ssgLoadFLT.cxx fixes
this (sorry, didn't have time to make the corresponding patch file).
quick fix: after building fails, do:
sudo open -a textedit \
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_plib/work/plib-1.8.4/src/ssg/ssgLoadFLT.cxx
add the following line at the top of the file:
#include <sys/types.h>
save it
re-install the port, building should be fine:
sudo port upgrade plib
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13947#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list