freebsd-ports/devel/liblas
John Marino c4ab36e7e2 devel/liblas: fix [-fpermissive] cannot call constructor errors
The port doesn't build with gcc4.7+ without this patch.  Partial log:
las_c_api.cpp: In function 'LASErrorEnum LASHeader_SetProjectId(LASHeaderH, const char*)':
las_c_api.cpp:748:38: error: cannot call constructor 'liblas::guid::guid' directly [-fpermissive]
las_c_api.cpp:748:38: error:   for a function-style cast, remove the redundant '::guid' [-fpermissive]
las_c_api.cpp: In function 'LASGuidHS* LASGuid_CreateFromString(const char*)':
las_c_api.cpp:1545:39: error: cannot call constructor 'liblas::guid::guid' directly [-fpermissive]
las_c_api.cpp:1545:39: error:   for a function-style cast, remove the redundant '::guid' [-fpermissive]

Approved by:	portmgr (bapt, implicit)
2013-09-30 20:08:18 +00:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist