-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we are using an old GCC we need to add a new requirement for rousette 'date' this is included in GCC 14+.
- Loading branch information
1 parent
1b46444
commit 3cd5f41
Showing
19 changed files
with
605 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
package/date/0001-Fix-getting-current-timezone-on-ARM-based-devices.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From c8ec120afa3a66674ef30b10490eeeb36d806eed Mon Sep 17 00:00:00 2001 | ||
From: Tomas Pecka <peckato1@fit.cvut.cz> | ||
Date: Fri, 17 Feb 2023 13:50:17 +0100 | ||
Subject: [PATCH] Fix getting current timezone on ARM-based devices | ||
Our software using date on buildroot ARM-based device terminates with an | ||
uncaught exception. | ||
terminate called after throwing an instance of 'std::runtime_error' | ||
what(): posix/Etc/UTC not found in timezone database | ||
I have applied workaround from [1]. | ||
[1] https://github.com/HowardHinnant/date/issues/252 | ||
Bug: https://github.com/HowardHinnant/date/issues/252 | ||
--- | ||
src/tz.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
diff --git a/src/tz.cpp b/src/tz.cpp | ||
index bd9fad4..eea48ce 100644 | ||
--- a/src/tz.cpp | ||
+++ b/src/tz.cpp | ||
@@ -3925,7 +3925,7 @@ sniff_realpath(const char* timezone) | ||
if (realpath(timezone, rp) == nullptr) | ||
throw system_error(errno, system_category(), "realpath() failed"); | ||
auto result = extract_tz_name(rp); | ||
- return result != "posixrules"; | ||
+ return result.find("posix") == decltype(result)::npos; | ||
} | ||
|
||
const time_zone* | ||
-- | ||
2.39.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
config BR2_PACKAGE_DATE | ||
bool "date" | ||
help | ||
A date and time library based on the C++11/14/17 <chrono> header | ||
https://github.com/HowardHinnant/date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Locally calculated | ||
sha256 c90f6c00fb961170560299cbda28ca2d45804913aa8b2a9f36dbb8e0028d6930 LICENSE.txt | ||
sha256 7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538 date-3.0.1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DATE_VERSION = 3.0.1 | ||
DATE_SITE = $(call github,HowardHinnant,date,v$(DATE_VERSION)) | ||
DATE_INSTALL_STAGING = YES | ||
DATE_LICENSE = MIT | ||
DATE_LICENSE_FILES = LICENSE.txt | ||
DATE_CONF_OPTS = \ | ||
-DBUILD_TZ_LIB=ON \ | ||
-DUSE_SYSTEM_TZ_DB:BOOL=ON \ | ||
-DENABLE_DATE_TESTING=OFF | ||
$(eval $(cmake-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 82e3758011ec44c78e98d0777799d6e12aec5b8a64b32ebb20d0fe50e32488bb LICENSE | ||
sha256 fc5ae5218d441afef697d4fc7912ddbe322060103c053d50fc2db829bd359458 libyang-cpp-b852ea3b9a2729da364f2c4122db05d882df37f2-br1.tar.gz | ||
sha256 b1ae9848c9810462fdca89b83297d5992e9c0c00399c21f65a0eef183d4789b4 libyang-cpp-38e3399c99a82d3c0f693fb19ab1e1b3cd72aed9-br1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE | ||
sha256 74b0d3115e73335399c5f8847fb7baa4d23497be75d12fccf56a754015af4c76 rousette-226a2410376e5befd0bf6dc180618a108b11b256-br1.tar.gz | ||
sha256 3ba8a5dedff9a55af0b41ef07c8ffa2400f5a08bb70dfb18f850fa0416829f5e rousette-cf7a1d6eafc29ea708f18833ceb2f297dc2b7f74-br1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 82e3758011ec44c78e98d0777799d6e12aec5b8a64b32ebb20d0fe50e32488bb LICENSE | ||
sha256 74d7d89307c9fc188c7f23ae5128fe320a569f455a325286122eaa927a0d95ed sysrepo-cpp-99747f74e57a09c664251ea1f4e059e3f4f8e66a-br1.tar.gz | ||
sha256 f675acde97f95058252b2b9338e9d05e755dd4bf394ab8d68ea6edbb8cd9d75c sysrepo-cpp-e59193c772fa0e5963eff216b4fbb574383a64f2-br1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.