summaryrefslogtreecommitdiff
path: root/user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-02 01:38:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-02 01:38:53 +0000
commitb45f81c8758d952400101d8e4ff93c4442511192 (patch)
tree9d682a03c8ada93f91d572496b9f4d31a0966477 /user/kstars/0001-htmesh-Fix-compile-error-on-modern-Linux-systems.patch
parent0561bf1045467f95e2fcffd7e2b5bbdd82c7c81f (diff)
downloadpackages-b45f81c8758d952400101d8e4ff93c4442511192.tar.gz
packages-b45f81c8758d952400101d8e4ff93c4442511192.tar.bz2
packages-b45f81c8758d952400101d8e4ff93c4442511192.tar.xz
packages-b45f81c8758d952400101d8e4ff93c4442511192.zip
user/kstars: new package
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.patch25
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
+