mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libgit2, revbump for openssl3 (#10997)
This commit is contained in:
22
dev-libs/libgit2/patches/libgit2-1.5.0.patchset
Normal file
22
dev-libs/libgit2/patches/libgit2-1.5.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From ff88baec5a92771eff80644cd2d46c5264d77218 Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Fri, 30 Aug 2024 21:26:31 +0200
|
||||
Subject: Haiku doesn't have GIT_RAND_GETENTROPY
|
||||
|
||||
|
||||
diff --git a/src/util/rand.c b/src/util/rand.c
|
||||
index d28e4aa..db343af 100644
|
||||
--- a/src/util/rand.c
|
||||
+++ b/src/util/rand.c
|
||||
@@ -10,7 +10,7 @@ See <http://creativecommons.org/publicdomain/zero/1.0/>. */
|
||||
#include "rand.h"
|
||||
#include "runtime.h"
|
||||
|
||||
-#if defined(GIT_RAND_GETENTROPY)
|
||||
+#if defined(GIT_RAND_GETENTROPY) && !defined(__HAIKU__)
|
||||
# include <sys/random.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
2.45.2
|
||||
|
||||
Reference in New Issue
Block a user