28723e33e3
new features, including support for DUNDi. (http://www.dundi.com/ for more information) The initial framework and porting of this package upgrade was done by Martin J. Laubach, with lots of feature/PLIST fixes by me. DragonFly support added by Joerg Sonnenberger.
13 lines
574 B
Text
13 lines
574 B
Text
$NetBSD: patch-am,v 1.2 2006/01/13 20:32:38 riz Exp $
|
|
|
|
--- 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
|
|
int z = timezone / 60 / 15;
|