diff --git a/net-irc/weechat/patches/weechat-4.5.1.patchset b/net-irc/weechat/patches/weechat-4.8.1.patchset similarity index 51% rename from net-irc/weechat/patches/weechat-4.5.1.patchset rename to net-irc/weechat/patches/weechat-4.8.1.patchset index 267d803c1..1d509a38b 100644 --- a/net-irc/weechat/patches/weechat-4.5.1.patchset +++ b/net-irc/weechat/patches/weechat-4.8.1.patchset @@ -1,23 +1,23 @@ -From 088eb7159107ad804200af6dfce5edc7aedb5252 Mon Sep 17 00:00:00 2001 +From cb2ffad34237609c12e64efaf59fac14531fe89c Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 1 Jan 2025 21:32:12 +0100 Subject: Redefine htobe64 for Haiku diff --git a/src/core/core-crypto.c b/src/core/core-crypto.c -index dc23469..2dcd987 100644 +index ac8449b..c76dc04 100644 --- a/src/core/core-crypto.c +++ b/src/core/core-crypto.c -@@ -38,6 +38,9 @@ - #elif defined(__APPLE__) - #include - #define htobe64 OSSwapHostToBigInt64 +@@ -46,6 +46,9 @@ + #include + #include + #define BE_INT64 htonll +#elif defined(__HAIKU__) +#include -+#define htobe64(x) B_HOST_TO_BENDIAN_INT64(x) ++#define BE_INT64 B_HOST_TO_BENDIAN_INT64 + #else + #define BE_INT64 htobe64 #endif - - #include "weechat.h" -- -2.45.2 +2.52.0 diff --git a/net-irc/weechat/weechat-4.5.1.recipe b/net-irc/weechat/weechat-4.8.1.recipe similarity index 97% rename from net-irc/weechat/weechat-4.5.1.recipe rename to net-irc/weechat/weechat-4.8.1.recipe index e9071ce1e..353234734 100644 --- a/net-irc/weechat/weechat-4.5.1.recipe +++ b/net-irc/weechat/weechat-4.8.1.recipe @@ -7,7 +7,7 @@ COPYRIGHT="2003-2024 Sébastien Helleu" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://weechat.org/files/src/weechat-$portVersion.tar.xz" -CHECKSUM_SHA256="67c143c7bc70e689b9ea86df674c9a9ff3cf44ccc9cdff21be6a561d5eafc528" +CHECKSUM_SHA256="e7ac1fbcc71458ed647aada8747990905cb5bfb93fd8ccccbc2a969673a4285a" PATCHES="weechat-$portVersion.patchset" ADDITIONAL_FILES="weechat.rdef.in"