1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Update to 2.11.0

- Try to fix build on DragonFly
This commit is contained in:
Dmitry Marakasov 2017-01-24 12:20:00 +00:00
parent df6a9f0f03
commit 46eee7027b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432326
4 changed files with 10 additions and 12 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= libosmium
PORTVERSION= 2.10.3
PORTVERSION= 2.11.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= astro geography devel
MAINTAINER= amdmi3@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1479910332
SHA256 (osmcode-libosmium-v2.10.3_GH0.tar.gz) = 9254a276d5e2c1b172c3bdd11d284f3ef5ffcfc296e685c57e59233d641fd229
SIZE (osmcode-libosmium-v2.10.3_GH0.tar.gz) = 428643
TIMESTAMP = 1484564513
SHA256 (osmcode-libosmium-v2.11.0_GH0.tar.gz) = 32e0b0725efa6a93cf2752862b6f32991eb0978eae793692aab202d7c4f7be4f
SIZE (osmcode-libosmium-v2.11.0_GH0.tar.gz) = 436420

View File

@ -1,13 +1,11 @@
--- include/osmium/util/endian.hpp.orig 2016-11-20 16:25:23 UTC
--- include/osmium/util/endian.hpp.orig 2017-01-14 10:50:34 UTC
+++ include/osmium/util/endian.hpp
@@ -35,7 +35,9 @@ DEALINGS IN THE SOFTWARE.
@@ -35,7 +35,7 @@ DEALINGS IN THE SOFTWARE.
// Windows is only available for little endian architectures
// http://stackoverflow.com/questions/6449468/can-i-safely-assume-that-windows-installations-will-always-be-little-endian
-#if !defined(_WIN32) && !defined(__APPLE__)
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+# include <sys/endian.h>
+#elif !defined(_WIN32) && !defined(__APPLE__)
# include <sys/endian.h>
#elif !defined(_WIN32) && !defined(__APPLE__)
# include <endian.h>
#else
# define __LITTLE_ENDIAN 1234

View File

@ -70,6 +70,7 @@ include/osmium/index/multimap/sparse_mem_array.hpp
include/osmium/index/multimap/sparse_mem_multimap.hpp
include/osmium/index/multimap/sparse_mmap_array.hpp
include/osmium/index/node_locations_map.hpp
include/osmium/index/relations_map.hpp
include/osmium/io/any_compression.hpp
include/osmium/io/any_input.hpp
include/osmium/io/any_output.hpp