Commit graph

4 commits

Author SHA1 Message Date
Rosen Penev
972350e2ea dahdi-tools: fix compilation with musl 1.2.x
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-08 17:16:56 -07:00
Sebastian Kemper
951a4a3dae dahdi-tools: remove broken patch, disable unused
The patch "010-fix-non-glibc-builds.patch" is broken. The test for
HAVE_EXECINFO_H must happen after including "<autoconfig.h>".

Instead of fixing the patch this commit removes it. In lieu,
CONFIGURES_ARGS are added to the Makefile. These disable the building of
some tools that are not packaged anyway. Like this, "xpp/xtalk/debug.c"
is avoided, hence the patch becomes irrelevant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-31 16:17:28 +01:00
Sebastian Kemper
9b4f78d799 dahdi-tools: rework patch
Currently builds for ARC are failing, causing follow-up breakage. It
seems that uclibc defines __GLIBC__ on the build bots.

This commit adds a test for execinfo.h to the configure script. The
result of the test is then used in xpp/xtalk/debug.c.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-01-27 16:00:56 +01:00
Sebastian Kemper
aad0887281 dahdi-tools: use default Build/Compile template
Add two patches to fix general compile issues. The first masks out some
glibc specific extensions if using a different libc.

The second fixes a compile issue with newer compilers.

Like this it's possible to easily add more executables to the packages
should the need (or wish) arise. This also gets rid of the following
warnings:

cc1: note: someone does not honour COPTS correctly, passed 2 times

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-29 11:36:53 +01:00