-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libevent: Add missing include and fix wrong shebang
- Loading branch information
1 parent
4242a14
commit be2be99
Showing
2 changed files
with
37 additions
and
3 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
36 changes: 36 additions & 0 deletions
36
patches/libevent/0001-Add-missing-include-and-fix-wrong-shebang.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,36 @@ | ||
From 742d47e8a1d6c618da1a7098a6e0b4c86a42dcea Mon Sep 17 00:00:00 2001 | ||
From: Dennis Bonke <[email protected]> | ||
Date: Sun, 5 Jan 2025 16:00:36 +0100 | ||
Subject: [PATCH] Add missing include and fix wrong shebang | ||
|
||
Signed-off-by: Dennis Bonke <[email protected]> | ||
--- | ||
event_rpcgen.py | 2 +- | ||
sample/https-client.c | 1 + | ||
2 files changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/event_rpcgen.py b/event_rpcgen.py | ||
index 0bae3b0..a2f7ba3 100755 | ||
--- a/event_rpcgen.py | ||
+++ b/event_rpcgen.py | ||
@@ -1,4 +1,4 @@ | ||
-#!/usr/bin/env python | ||
+#!/usr/bin/env python3 | ||
# | ||
# Copyright (c) 2005-2007 Niels Provos <[email protected]> | ||
# Copyright (c) 2007-2012 Niels Provos and Nick Mathewson | ||
diff --git a/sample/https-client.c b/sample/https-client.c | ||
index 5136ace..fc6a6ee 100644 | ||
--- a/sample/https-client.c | ||
+++ b/sample/https-client.c | ||
@@ -19,6 +19,7 @@ | ||
#include <assert.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
+#include <strings.h> | ||
#include <errno.h> | ||
|
||
#ifdef _WIN32 | ||
-- | ||
2.45.2 | ||
|