aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpizzamig <pizzamig@FreeBSD.org>2017-11-03 23:27:25 +0800
committerpizzamig <pizzamig@FreeBSD.org>2017-11-03 23:27:25 +0800
commitfebf2a2d27853feebf56605b5cd8d69e40d60d88 (patch)
tree3a34fb4c9acc443224a3aff4ba753adf009efc22
parentc334948d67c06671c8d83827151cff0cdf87868c (diff)
downloadfreebsd-ports-gnome-febf2a2d27853feebf56605b5cd8d69e40d60d88.tar.gz
freebsd-ports-gnome-febf2a2d27853feebf56605b5cd8d69e40d60d88.tar.zst
freebsd-ports-gnome-febf2a2d27853feebf56605b5cd8d69e40d60d88.zip
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
-rw-r--r--devel/liblas12/files/patch-src_las__c__api.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/liblas12/files/patch-src_las__c__api.cpp b/devel/liblas12/files/patch-src_las__c__api.cpp
new file mode 100644
index 000000000000..bde0544c6628
--- /dev/null
+++ b/devel/liblas12/files/patch-src_las__c__api.cpp
@@ -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) {