telephony/libs/dahdi-linux/patches/003-fix-oslec-build.patch
Sebastian Kemper 183ad6c145 dahdi-linux: bump to 3.0.0
This commit goes back from using a git checkout to using a regular
upstream tarball. Version bumped to 3.0.0 which works with kernels
equal to or greater than 4.15. Patches refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-06-18 20:10:39 +02:00

14 lines
509 B
Diff

--- a/drivers/dahdi/Kbuild
+++ b/drivers/dahdi/Kbuild
@@ -54,9 +54,8 @@ obj-m += $(DAHDI_MODULES_EXTRA)
# If you want to build OSLEC, include the code in the standard location:
# drivers/staging/echo . The DAHDI OSLEC echo canceller will be built as
# well:
-ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
+ifneq (,$(wildcard $(src)/../staging/echo/oslec.h))
obj-m += dahdi_echocan_oslec.o
-obj-m += ../staging/echo/echo.o
endif
CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src) -Wno-format-truncation