Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2017 15:27:25 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453408 - head/devel/liblas12/files
Message-ID:  <201711031527.vA3FRPc9010371@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711031527.vA3FRPc9010371>