Skip to contentSkip to conversation

package/sunwait: bump to latest git version

PATCH Applied Angelo Compagnucci 2 participants 2 messages Oct 30

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sunwait: bump to latest git version

Upstream switched from C++ to C, so drop the C++ toolchain dependency and use the C compiler.

---
 package/sunwait/Config.in    | 4 ----
 package/sunwait/sunwait.hash | 2 +-
 package/sunwait/sunwait.mk   | 3 +--
 3 files changed, 2 insertions(+), 7 deletions(-)
package/sunwait/Config.in +0 -4
index e141c778a3..ea0ec171cb 100644
@@ -1,11 +1,7 @@
 config BR2_PACKAGE_SUNWAIT
 	bool "sunwait"
-	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  Sunwait calculates sunrise or sunset times with civil,
 	  nautical, astronomical and custom twilights.
 
 	  https://github.com/risacher/sunwait
-
-comment "sunwait needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
package/sunwait/sunwait.hash +1 -1
index 8396fa27dd..6f9286373a 100644
@@ -1,3 +1,3 @@
 # sha256 locally computed
-sha256  ef26ed05882d5286a64a37c4044f99b877cc54f58a46f0e37ca60c93398df910  sunwait-7326b53e5406c7ebd552ae6dc0fc659252a18e7f.tar.gz
+sha256  ac69169fa8b1ce332682f1af540c648bdec849c255df46aebc145d0ec46fc80d  sunwait-151d8340a748a4dac7752ebcd38983b2887f5f0c.tar.gz
 sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  LICENSE
package/sunwait/sunwait.mk +1 -2
index 4b27e8267a..1dc4d82b8a 100644
@@ -4,14 +4,13 @@
 #
 ################################################################################
 
-SUNWAIT_VERSION = 7326b53e5406c7ebd552ae6dc0fc659252a18e7f
+SUNWAIT_VERSION = 151d8340a748a4dac7752ebcd38983b2887f5f0c
 SUNWAIT_SITE = $(call github,risacher,sunwait,$(SUNWAIT_VERSION))
 SUNWAIT_LICENSE = GPL-3.0
 SUNWAIT_LICENSE_FILES = LICENSE
 
 SUNWAIT_MAKE_OPTS = \
 	$(TARGET_CONFIGURE_OPTS) \
-	C=$(TARGET_CXX) \
 	CFLAGS="$(TARGET_CFLAGS) -c" \
 	LDFLAGS="$(TARGET_LDFLAGS) -lm"
 
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Angelo Compagnucci

Upstream switched from C++ to C, so drop the C++ toolchain dependency and use the C compiler.

Applied to master, thanks.

For info, I switched the commit id to the upstream tag 0.9.1. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/15b0457158bbe24264ab241cbe87c52b4d659f4e

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot