Source: libcap2
Version: 1:2.75-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Hi,

the symbol _IO_stdin_used was recently added in support of glibc-builds.
Its definition is guarded by #ifdef __GLIBC__ and therefore it is
unavailable on non-glibc architectures such as musl. Please mark it as a
glibc-only symbol in the symbols file. I'm attaching a patch for your
convenience.

Helmut
diff --minimal -Nru libcap2-2.75/debian/changelog libcap2-2.75/debian/changelog
--- libcap2-2.75/debian/changelog       2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/changelog       2025-05-11 12:47:25.000000000 +0200
@@ -1,3 +1,10 @@
+libcap2 (1:2.75-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark _IO_stdin_used as glibc-only symbol. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 11 May 2025 12:47:25 +0200
+
 libcap2 (1:2.75-7) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff --minimal -Nru libcap2-2.75/debian/libcap2.symbols 
libcap2-2.75/debian/libcap2.symbols
--- libcap2-2.75/debian/libcap2.symbols 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/libcap2.symbols 2025-05-11 12:47:24.000000000 +0200
@@ -1,6 +1,6 @@
 libcap.so.2 libcap2 #MINVER#
 * Build-Depends-Package: libcap-dev
- _IO_stdin_used@Base 1:2.75
+ (arch=gnu-any-any)_IO_stdin_used@Base 1:2.75
  __execable_dl_loader@Base 1:2.63
  cap_clear@Base 1:2.10
  cap_clear_flag@Base 1:2.10

Reply via email to