]> git.pld-linux.org Git - packages/bluez.git/commit
fix build with glibc 2.34; rel 2 auto/th/bluez-5.61-2
authorJan Palus <atler@pld-linux.org>
Mon, 23 Aug 2021 09:38:56 +0000 (11:38 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 23 Aug 2021 09:41:05 +0000 (11:41 +0200)
commitad6434db988fe07429dff24e456af8636a03a2cc
tree046131e5fac6ad029528d99b2586f175914c791b
parenta5c5051b580dbf0ff737b4844d7818bff68137ee
fix build with glibc 2.34; rel 2

unistd.h is now included indirectly causing signature conflict:

profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have '_Bool(void *)'
 1284 | static bool pause(void *user_data)
      |             ^~~~~
In file included from /usr/include/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from /usr/include/glib-2.0/glib/gbacktrace.h:36,
                 from /usr/include/glib-2.0/glib.h:34,
                 from profiles/audio/media.c:21:
/usr/include/unistd.h:489:12: note: previous declaration of 'pause' with type 'int(void)'
  489 | extern int pause (void);
      |            ^~~~~
bluez.spec
glibc2.34.patch [new file with mode: 0644]
This page took 0.139939 seconds and 4 git commands to generate.