svn commit: r453408 - head/devel/liblas12/files

Luca Pizzamiglio pizzamig at FreeBSD.org
Fri Nov 3 15:27:26 UTC 2017


Author: pizzamig
Date: Fri Nov  3 15:27:25 2017
New Revision: 453408
URL: https://svnweb.freebsd.org/changeset/ports/453408

Log:
  devel/liblas12: Fix build error on CURRENT
  
  PR:		222424
  Submitted by:	rhurlin at gwdg.de (maintainer)
  Approved by:	olivier (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12786

Added:
  head/devel/liblas12/files/
  head/devel/liblas12/files/patch-src_las__c__api.cpp   (contents, props changed)

Added: head/devel/liblas12/files/patch-src_las__c__api.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/liblas12/files/patch-src_las__c__api.cpp	Fri Nov  3 15:27:25 2017	(r453408)
@@ -0,0 +1,20 @@
+--- src/las_c_api.cpp.orig	2009-10-02 17:48:41 UTC
++++ src/las_c_api.cpp
+@@ -745,7 +745,7 @@ LAS_DLL LASErrorEnum LASHeader_SetProjectId(LASHeaderH
+ 
+     try {
+         liblas::guid id;
+-        id = liblas::guid::guid(value);
++        id = liblas::guid(value);
+         ((LASHeader*) hHeader)->SetProjectId(id);    
+     } catch (std::exception const& e)
+     {
+@@ -1542,7 +1542,7 @@ LAS_DLL LASGuidH LASGuid_CreateFromString(const char* 
+     VALIDATE_LAS_POINTER1(string, "LASGuid_CreateFromString", NULL);    
+     liblas::guid id;
+     try {
+-        id = liblas::guid::guid(string);
++        id = liblas::guid(string);
+         return (LASGuidH) new liblas::guid(id);
+     }
+     catch (std::exception const& e) {


More information about the svn-ports-head mailing list