[packages/laszip] - rel 2, install header referenced but not installed

baggins baggins at pld-linux.org
Sun Dec 15 22:22:25 CET 2024


commit cc97476a497f7b3e9ee278cad7e01bf040834c4c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 15 22:18:03 2024 +0100

    - rel 2, install header referenced but not installed

 laszip.spec          | 12 +++++++-----
 missing-header.patch |  8 ++++++++
 2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/laszip.spec b/laszip.spec
index eeb6a2e..f9db6e8 100644
--- a/laszip.spec
+++ b/laszip.spec
@@ -2,7 +2,7 @@ Summary:	LASzip - free and lossless LiDAR compression
 Summary(pl.UTF-8):	LASzip - wolnodostępna, bezstratna kompresja danych LiDARowych
 Name:		laszip
 Version:	3.4.4
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://laszip.org/
@@ -13,6 +13,7 @@ Patch0:		%{name}-link.patch
 Patch1:		%{name}-restoreapi.patch
 Patch2:		%{name}-example.patch
 Patch3:		%{name}-format.patch
+Patch4:		missing-header.patch
 URL:		https://laszip.org/
 BuildRequires:	cmake >= 3.10
 BuildRequires:	libstdc++-devel
@@ -42,10 +43,11 @@ Pliki nagłówkowe biblioteki LASzip.
 
 %prep
 %setup -q -n LASzip-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
+%patch -P 4 -p1
 
 %build
 install -d build/example
diff --git a/missing-header.patch b/missing-header.patch
new file mode 100644
index 0000000..e9f9bc8
--- /dev/null
+++ b/missing-header.patch
@@ -0,0 +1,8 @@
+--- LASzip-3.4.4/src/CMakeLists.txt~	2024-12-15 22:13:25.000000000 +0100
++++ LASzip-3.4.4/src/CMakeLists.txt	2024-12-15 22:16:12.465325009 +0100
+@@ -38,4 +38,4 @@
+     add_definitions(-DHAVE_UNORDERED_MAP=1)
+ endif(HAVE_UNORDERED_MAP)
+ LASZIP_ADD_LIBRARY(${LASZIP_BASE_LIB_NAME} ${LASZIP_SOURCES})
+-LASZIP_ADD_INCLUDES("laszip" laszip.hpp laszipper.hpp lasunzipper.hpp)
++LASZIP_ADD_INCLUDES("laszip" laszip.hpp laszipper.hpp lasunzipper.hpp mydefs.hpp)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/laszip.git/commitdiff/cc97476a497f7b3e9ee278cad7e01bf040834c4c



More information about the pld-cvs-commit mailing list