File: Hide-private-symbols.patch

package info (click to toggle)
libcap2 1%3A2.75-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,068 kB
  • sloc: ansic: 9,181; sh: 1,138; makefile: 812; cpp: 45; asm: 16
file content (28 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (2)
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
From: Christian Kastner <ckk@debian.org>
Date: Thu, 30 Jul 2015 11:46:37 +0200
Subject: Hide private symbols

Hide a symbol which is clearly meant to be private. This resolves a FTBFS in
combination with the new build dependency gperf.

Closes: #793311
Closes: #869588

Bug-Debian: https://bugs.debian.org/793311
Bug-Debian: https://bugs.debian.org/869588
Last-Update: 2022-03-04
---
 libcap/cap_names.header | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcap/cap_names.header b/libcap/cap_names.header
index 8d64f64..ba4b4ce 100644
--- a/libcap/cap_names.header
+++ b/libcap/cap_names.header
@@ -1,5 +1,5 @@
 struct __cap_token_s { const char *name; int index; };
 %{
-const struct __cap_token_s *__cap_lookup_name(const char *, size_t);
+static const struct __cap_token_s *__cap_lookup_name(const char *, size_t);
 %}
 %%