aboutsummaryrefslogtreecommitdiff
path: root/misc/dahdi-kmod26
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-11-09 21:03:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-11-10 10:54:51 +0000
commit2569669c0955d53caca83563325c13a791dbca5f (patch)
tree6b7fe63a9309c11b598647d318ff7b28fb329e5c /misc/dahdi-kmod26
parentfdf15484210d144e5fda9d58266360a50b49ffc4 (diff)
downloadports-2569669c0955d53caca83563325c13a791dbca5f.tar.gz
ports-2569669c0955d53caca83563325c13a791dbca5f.zip
misc/dahdi-kmod26: unbreak, change maintainer
Unbreak build by adding missing header and disabling -Werror. Pass maintainership to submitter due to current maintainer inactivity. PR: 252907 Approved by: maintainer timeout (fjoe, 9 months)
Diffstat (limited to 'misc/dahdi-kmod26')
-rw-r--r--misc/dahdi-kmod26/Makefile6
-rw-r--r--misc/dahdi-kmod26/files/patch-drivers_dahdi_dahdi-base.c10
2 files changed, 12 insertions, 4 deletions
diff --git a/misc/dahdi-kmod26/Makefile b/misc/dahdi-kmod26/Makefile
index 4c5b0a61e0ce..486cd72c1a3d 100644
--- a/misc/dahdi-kmod26/Makefile
+++ b/misc/dahdi-kmod26/Makefile
@@ -12,11 +12,9 @@ DISTFILES= ${DISTNAME}.tar.bz2\
oslec-linux-${OSLEC_VERSION}${EXTRACT_SUFX}\
zaphfc-${ZAPHFC_VERSION}${EXTRACT_SUFX}
-MAINTAINER= fjoe@FreeBSD.org
+MAINTAINER= dgilbert@eicat.ca
COMMENT= Digium/Asterisk Hardware Device Interface
-BROKEN= does not compile: use of undeclared identifier 'thread_dtor'
-
RUN_DEPENDS= ${LOCALBASE}/sbin/dahdi_cfg:misc/dahdi
ONLY_FOR_ARCHS= amd64 i386 powerpc64 sparc64
@@ -44,7 +42,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
#PATCH_STRIP= -p1
MAKEFILE= BSDmakefile
USE_RC_SUBR= dahdi
-MAKE_ARGS= NO_FETCH=yes WITHOUT_HEADERS=yes #ADDITIONAL_DRIVERS="wcb1xxp"
+MAKE_ARGS= NO_FETCH=yes WITHOUT_HEADERS=yes WERROR= #ADDITIONAL_DRIVERS="wcb1xxp"
GROUPS= dahdi
CONFLICTS= zaptel dahdi-kmod-*
diff --git a/misc/dahdi-kmod26/files/patch-drivers_dahdi_dahdi-base.c b/misc/dahdi-kmod26/files/patch-drivers_dahdi_dahdi-base.c
new file mode 100644
index 000000000000..ea28d8210651
--- /dev/null
+++ b/misc/dahdi-kmod26/files/patch-drivers_dahdi_dahdi-base.c
@@ -0,0 +1,10 @@
+--- drivers/dahdi/dahdi-base.c.orig 2014-05-10 07:54:19 UTC
++++ drivers/dahdi/dahdi-base.c
+@@ -106,6 +106,7 @@
+ #if defined(__FreeBSD__)
+ #include <sys/filio.h>
+ #include <sys/proc.h>
++#include <sys/eventhandler.h>
+
+ #include "ng_dahdi_iface.h"
+