aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/dahdi-kmod/Makefile5
-rw-r--r--misc/dahdi-kmod/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c18
-rw-r--r--misc/dahdi/Makefile5
-rw-r--r--misc/dahdi/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c18
4 files changed, 42 insertions, 4 deletions
diff --git a/misc/dahdi-kmod/Makefile b/misc/dahdi-kmod/Makefile
index 3a194c0de06b..bde17b751bb6 100644
--- a/misc/dahdi-kmod/Makefile
+++ b/misc/dahdi-kmod/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
+PORTREVISION= 1
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fjoe
@@ -42,13 +43,13 @@ MAN8= dahdi_cfg.8\
pre-everything::
@if [ ! -f /usr/src/sys/Makefile ]; then \
- ${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
+ ${ECHO_MSG} ">> The dahdi port needs FreeBSD kernel source code to compile."; \
${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
${FALSE}; \
fi
post-patch:
- ${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\
+ @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\
${WRKSRC}/tools/dahdi_cfg.c ${WRKSRC}/tools/fxotune.c\
${WRKSRC}/tools/doc/dahdi_cfg.8 ${WRKSRC}/tools/doc/fxotune.8
diff --git a/misc/dahdi-kmod/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c b/misc/dahdi-kmod/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c
new file mode 100644
index 000000000000..3838d69fb38f
--- /dev/null
+++ b/misc/dahdi-kmod/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c
@@ -0,0 +1,18 @@
+--- freebsd/drivers/dahdi/wct4xxp/base.c.orig 2010-03-03 19:04:37.000000000 +0600
++++ freebsd/drivers/dahdi/wct4xxp/base.c 2010-03-03 19:04:51.000000000 +0600
+@@ -3070,7 +3070,6 @@
+ {
+ struct t4 *wc = (struct t4 *)data;
+
+- DPRINTF(wc->dev, "%s\n", __FUNCTION__);
+ #ifdef VPM_SUPPORT
+ if (wc->vpm) {
+ if (test_and_clear_bit(T4_CHECK_VPM, &wc->checkflag)) {
+@@ -3214,7 +3213,6 @@
+ res = FILTER_HANDLED;
+ #endif
+ if (unlikely(test_bit(T4_CHECK_VPM, &wc->checkflag))) {
+- DPRINTF(wc->dev, "scheduling filter thread\n");
+ #if defined(__FreeBSD__)
+ res |= FILTER_SCHEDULE_THREAD;
+ #else
diff --git a/misc/dahdi/Makefile b/misc/dahdi/Makefile
index 3a194c0de06b..bde17b751bb6 100644
--- a/misc/dahdi/Makefile
+++ b/misc/dahdi/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
+PORTREVISION= 1
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fjoe
@@ -42,13 +43,13 @@ MAN8= dahdi_cfg.8\
pre-everything::
@if [ ! -f /usr/src/sys/Makefile ]; then \
- ${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
+ ${ECHO_MSG} ">> The dahdi port needs FreeBSD kernel source code to compile."; \
${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
${FALSE}; \
fi
post-patch:
- ${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\
+ @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\
${WRKSRC}/tools/dahdi_cfg.c ${WRKSRC}/tools/fxotune.c\
${WRKSRC}/tools/doc/dahdi_cfg.8 ${WRKSRC}/tools/doc/fxotune.8
diff --git a/misc/dahdi/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c b/misc/dahdi/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c
new file mode 100644
index 000000000000..3838d69fb38f
--- /dev/null
+++ b/misc/dahdi/files/patch-freebsd-drivers-dahdi-wct4xxp-base.c
@@ -0,0 +1,18 @@
+--- freebsd/drivers/dahdi/wct4xxp/base.c.orig 2010-03-03 19:04:37.000000000 +0600
++++ freebsd/drivers/dahdi/wct4xxp/base.c 2010-03-03 19:04:51.000000000 +0600
+@@ -3070,7 +3070,6 @@
+ {
+ struct t4 *wc = (struct t4 *)data;
+
+- DPRINTF(wc->dev, "%s\n", __FUNCTION__);
+ #ifdef VPM_SUPPORT
+ if (wc->vpm) {
+ if (test_and_clear_bit(T4_CHECK_VPM, &wc->checkflag)) {
+@@ -3214,7 +3213,6 @@
+ res = FILTER_HANDLED;
+ #endif
+ if (unlikely(test_bit(T4_CHECK_VPM, &wc->checkflag))) {
+- DPRINTF(wc->dev, "scheduling filter thread\n");
+ #if defined(__FreeBSD__)
+ res |= FILTER_SCHEDULE_THREAD;
+ #else