all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 05ae3dddcdf9e4ed8db70ccf2d0a5705b2d22599 1370 bytes (raw)
name: gnu/packages/patches/libbacktrace-remove-static-keyword.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
From c866f91b07d6d366a88c3fb50f69cfa8eefa10d3 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Mon, 12 Dec 2022 22:16:37 +0100
Subject: [PATCH] Remove static keyword from several function.


diff --git a/elf.c b/elf.c
index ab21d2e..e62b328 100644
--- a/elf.c
+++ b/elf.c
@@ -557,7 +557,7 @@ elf_crc32_file (struct backtrace_state *state, int descriptor,
 /* A dummy callback function used when we can't find a symbol
    table.  */
 
-static void
+void
 elf_nosyms (struct backtrace_state *state ATTRIBUTE_UNUSED,
 	    uintptr_t addr ATTRIBUTE_UNUSED,
 	    backtrace_syminfo_callback callback ATTRIBUTE_UNUSED,
@@ -758,7 +758,7 @@ elf_add_syminfo_data (struct backtrace_state *state,
 
 /* Return the symbol name and value for an ADDR.  */
 
-static void
+void
 elf_syminfo (struct backtrace_state *state, uintptr_t addr,
 	     backtrace_syminfo_callback callback,
 	     backtrace_error_callback error_callback ATTRIBUTE_UNUSED,
@@ -6467,7 +6467,7 @@ backtrace_uncompress_lzma (struct backtrace_state *state,
    elf_add will need to be called on the descriptor again after
    base_address is determined.  */
 
-static int
+int
 elf_add (struct backtrace_state *state, const char *filename, int descriptor,
 	 const unsigned char *memory, size_t memory_size,
 	 uintptr_t base_address, backtrace_error_callback error_callback,
-- 
2.38.1


debug log:

solving 05ae3dddcd ...
found 05ae3dddcd in https://yhetil.org/guix/QpZ0euHuA8KX3tXkr0GYx7W8rFzYloWqNjDNlH9WiFMcPT8MWrpMir0wyDdjA0ID3SlQFvDCJdUciu5zu7i4Zj7PeVSQMO9RAaOt5aEcKfg=@protonmail.com/

applying [1/1] https://yhetil.org/guix/QpZ0euHuA8KX3tXkr0GYx7W8rFzYloWqNjDNlH9WiFMcPT8MWrpMir0wyDdjA0ID3SlQFvDCJdUciu5zu7i4Zj7PeVSQMO9RAaOt5aEcKfg=@protonmail.com/
diff --git a/gnu/packages/patches/libbacktrace-remove-static-keyword.patch b/gnu/packages/patches/libbacktrace-remove-static-keyword.patch
new file mode 100644
index 0000000000..05ae3dddcd

1:20: trailing whitespace.
 
1:24: space before tab in indent.
 	    uintptr_t addr ATTRIBUTE_UNUSED,
1:25: space before tab in indent.
 	    backtrace_syminfo_callback callback ATTRIBUTE_UNUSED,
1:27: trailing whitespace.
 
1:29: trailing whitespace.
 
Checking patch gnu/packages/patches/libbacktrace-remove-static-keyword.patch...
Applied patch gnu/packages/patches/libbacktrace-remove-static-keyword.patch cleanly.
warning: squelched 7 whitespace errors
warning: 12 lines add whitespace errors.

index at:
100644 05ae3dddcdf9e4ed8db70ccf2d0a5705b2d22599	gnu/packages/patches/libbacktrace-remove-static-keyword.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.