File: Hide-private-symbols.patch

package info (click to toggle)
libcap2 1%3A2.66-4%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 1,868 kB
  • sloc: ansic: 8,716; sh: 1,072; makefile: 723
file content (28 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (3)
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/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libcap2/libcap/cap_names.header
===================================================================
--- libcap2.orig/libcap/cap_names.header
+++ libcap2/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);
 %}
 %%