summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk/patches/patch-am')
-rw-r--r--comms/asterisk/patches/patch-am22
1 files changed, 11 insertions, 11 deletions
diff --git a/comms/asterisk/patches/patch-am b/comms/asterisk/patches/patch-am
index e63f4a4cbb6..84ad07dab5f 100644
--- a/comms/asterisk/patches/patch-am
+++ b/comms/asterisk/patches/patch-am
@@ -1,13 +1,13 @@
-$NetBSD: patch-am,v 1.1 2006/01/02 16:02:10 joerg Exp $
+$NetBSD: patch-am,v 1.2 2006/01/13 20:32:38 riz Exp $
---- apps/app_intercom.c.orig 2006-01-02 15:39:06.000000000 +0000
-+++ apps/app_intercom.c
-@@ -29,7 +29,7 @@
-
- #if defined(__linux__)
- #include <linux/soundcard.h>
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__DragonFly__)
- #include <sys/soundcard.h>
+--- apps/app_sms.c.orig 2006-01-13 00:50:10.000000000 +0000
++++ apps/app_sms.c
+@@ -439,7 +439,7 @@ static int packsms (unsigned char dcs, u
+ static void packdate (unsigned char *o, time_t w)
+ {
+ struct tm *t = localtime (&w);
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__DragonFly__)
+ int z = -t->tm_gmtoff / 60 / 15;
#else
- #include <soundcard.h>
+ int z = timezone / 60 / 15;