diff options
Diffstat (limited to 'user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch')
-rw-r--r-- | user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch b/user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch new file mode 100644 index 000000000..052b849d9 --- /dev/null +++ b/user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch @@ -0,0 +1,25 @@ +From b2b36b864813e512829ab8a3613f8a91f2bff20e Mon Sep 17 00:00:00 2001 +From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> +Date: Wed, 29 Aug 2018 11:27:38 -0500 +Subject: [PATCH] htmesh: Fix compile error on modern Linux systems + +--- + kstars/htmesh/SkipListElement.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kstars/htmesh/SkipListElement.h b/kstars/htmesh/SkipListElement.h +index f8187e42a..52dfff38a 100644 +--- a/kstars/htmesh/SkipListElement.h ++++ b/kstars/htmesh/SkipListElement.h +@@ -20,7 +20,7 @@ + #define KEY_MAX _I64_MAX + #else + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || \ +- (defined(__SUNPRO_CC) && defined(__sun)) || defined(__APPLE__) ++ (defined(__SUNPRO_CC) && defined(__sun)) || defined(__APPLE__) || defined(__linux__) + #define KEY_MAX LLONG_MAX + #else + #define KEY_MAX LONG_LONG_MAX +-- +2.17.1 + |