summaryrefslogtreecommitdiff
path: root/comms/asterisk18/patches/patch-bh
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2010-12-22 04:28:52 +0000
committerjnemeth <jnemeth>2010-12-22 04:28:52 +0000
commitcda2bbcb0b5e37e728adda4053bd674e61efad0c (patch)
tree12de2580b98c9824dc5909d7c66467081d2014db /comms/asterisk18/patches/patch-bh
parent31f41626099cb3703a03ca82943c66485a0fc775 (diff)
downloadpkgsrc-cda2bbcb0b5e37e728adda4053bd674e61efad0c.tar.gz
PR/44257 - Francois Tigeot -- build fixes for DragonFly BSD
Don't bother bumping the version since it didn't build on DFBSD before there is no binary package that could have changed, and this doesn't change the binary packages on other systems.
Diffstat (limited to 'comms/asterisk18/patches/patch-bh')
-rw-r--r--comms/asterisk18/patches/patch-bh13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-bh b/comms/asterisk18/patches/patch-bh
new file mode 100644
index 00000000000..391677c8e42
--- /dev/null
+++ b/comms/asterisk18/patches/patch-bh
@@ -0,0 +1,13 @@
+$NetBSD: patch-bh,v 1.1 2010/12/22 04:28:53 jnemeth Exp $
+
+--- main/asterisk.c.orig 2010-11-11 19:42:06.000000000 +0000
++++ main/asterisk.c
+@@ -85,7 +85,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
+ #include <sys/sysctl.h>
+ #if !defined(__OpenBSD__)
+ #include <sys/vmmeter.h>
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <vm/vm_param.h>
+ #endif
+ #endif