Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:22:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431357 - head/astro/libosmium/files
Message-ID:  <201701130922.v0D9MLKf072099@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 13 09:22:21 2017
New Revision: 431357
URL: https://svnweb.freebsd.org/changeset/ports/431357

Log:
  - Try to fix build on DragonFly

Modified:
  head/astro/libosmium/files/patch-include_osmium_util_endian.hpp

Modified: head/astro/libosmium/files/patch-include_osmium_util_endian.hpp
==============================================================================
--- head/astro/libosmium/files/patch-include_osmium_util_endian.hpp	Fri Jan 13 09:22:17 2017	(r431356)
+++ head/astro/libosmium/files/patch-include_osmium_util_endian.hpp	Fri Jan 13 09:22:21 2017	(r431357)
@@ -5,7 +5,7 @@
  // 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 <endian.h>



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