Bug#910299: drumgizmo hard codes location of semaphore.h

Helmut Grohne helmut at subdivi.de
Thu Oct 4 15:53:19 BST 2018


Source: drumgizmo
Version: 0.9.14-3
Tags: patch upstream
Control: block 798955 by -1

drumgizmo partially hard codes the location of semaphore.h by using the
following construct:

    #include <../include/semaphore.h>

With a non-glibc libc or a glibc with #798955 fixed, this will fail to
work as semaphore.h will live in /usr/include/<triplet>/semaphore.h.

I can offer two solutions:

 1. Renaming the drumgizmo's semaphore.h (e.g. to semaphore.hh). The
    attached patch implements that.
 2. Using #include_next (pretty old gcc extension that also works with
    clang).

Please consider applying the attached patch or requesting a solution
based on #include_next.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiarch-libc.patch
Type: text/x-diff
Size: 5381 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20181004/b3771797/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list