aboutsummaryrefslogtreecommitdiff
path: root/net/boinc-client/files/patch-client_hostinfo__unix.cpp
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2022-07-27 21:52:01 +0000
committerLarry Rosenman <ler@FreeBSD.org>2022-07-27 21:54:04 +0000
commit4668af6562433fc42f29d30f2dd02317f49ee6ad (patch)
tree3604e1808b6a53b6f595a3a51a166be5435059ad /net/boinc-client/files/patch-client_hostinfo__unix.cpp
parentfaf2a8ddb038494cfd55b33a0c5d53249f8ba613 (diff)
downloadports-4668af6562433fc42f29d30f2dd02317f49ee6ad.tar.gz
ports-4668af6562433fc42f29d30f2dd02317f49ee6ad.zip
Diffstat (limited to 'net/boinc-client/files/patch-client_hostinfo__unix.cpp')
-rw-r--r--net/boinc-client/files/patch-client_hostinfo__unix.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/boinc-client/files/patch-client_hostinfo__unix.cpp b/net/boinc-client/files/patch-client_hostinfo__unix.cpp
index f9ef1cf4f67b..4f2165ae8798 100644
--- a/net/boinc-client/files/patch-client_hostinfo__unix.cpp
+++ b/net/boinc-client/files/patch-client_hostinfo__unix.cpp
@@ -1,13 +1,11 @@
---- client/hostinfo_unix.cpp.orig 2018-01-14 10:07:52 UTC
+--- client/hostinfo_unix.cpp.orig 2022-07-27 21:28:09 UTC
+++ client/hostinfo_unix.cpp
-@@ -164,7 +164,9 @@ extern "C" {
+@@ -177,7 +177,7 @@ extern "C" {
// The following is intended to be true both on Linux
// and Debian GNU/kFreeBSD (see trac #521)
//
--#define LINUX_LIKE_SYSTEM (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(__HAIKU__)
-+#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined (__freebsd__)) && !defined(__HAIKU__)
-+#define LINUX_LIKE_SYSTEM 1
-+#endif
+-#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(__HAIKU__)
++#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined(__freebsd__)) && !defined(__HAIKU__)
+ #define LINUX_LIKE_SYSTEM 1
+ #endif
- // Returns the offset between LOCAL STANDARD TIME and UTC.
- // LOCAL_STANDARD_TIME = UTC_TIME + get_timezone().