aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabberd
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-10-21 20:56:17 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-10-21 20:56:17 +0000
commitd53b97033335605cf52e34eb80b658946ea3496a (patch)
tree24e6fbf055d582358f3941e4d34be259a601ad50 /net-im/jabberd
parentce43a6f914d96926edb993d5450ebf7e93bacfcc (diff)
downloadports-d53b97033335605cf52e34eb80b658946ea3496a.tar.gz
ports-d53b97033335605cf52e34eb80b658946ea3496a.zip
Notes
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/Makefile2
-rw-r--r--net-im/jabberd/distinfo6
-rw-r--r--net-im/jabberd/files/patch-sm-mod_iq_time.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/net-im/jabberd/Makefile b/net-im/jabberd/Makefile
index 731307d3b3f6..a1a0a5826f95 100644
--- a/net-im/jabberd/Makefile
+++ b/net-im/jabberd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jabberd
-PORTVERSION= 2.1.17
+PORTVERSION= 2.1.18
CATEGORIES= net-im
MASTER_SITES= http://ftp.xiaoka.com/jabberd2/releases/
DIST_SUBDIR= jabber
diff --git a/net-im/jabberd/distinfo b/net-im/jabberd/distinfo
index f2aceff52fc2..22925c6478b0 100644
--- a/net-im/jabberd/distinfo
+++ b/net-im/jabberd/distinfo
@@ -1,3 +1,3 @@
-MD5 (jabber/jabberd-2.1.17.tar.gz) = 1f2f8dd95e4a46692eaf54026fe84720
-SHA256 (jabber/jabberd-2.1.17.tar.gz) = cadd27d18ff57105516bda02f8eb681d74124b86a6c4bcd8e25512c64130c5a8
-SIZE (jabber/jabberd-2.1.17.tar.gz) = 808033
+MD5 (jabber/jabberd-2.1.18.tar.gz) = 53c5a5b6661c35d8231ed4f12104a3cb
+SHA256 (jabber/jabberd-2.1.18.tar.gz) = 8348fac1a8c28b2c5d3b6dbf4dc77e21621162ab4e628bf4b050bb35dc388b82
+SIZE (jabber/jabberd-2.1.18.tar.gz) = 809384
diff --git a/net-im/jabberd/files/patch-sm-mod_iq_time.c b/net-im/jabberd/files/patch-sm-mod_iq_time.c
index a772e640292f..bfafb8a941ed 100644
--- a/net-im/jabberd/files/patch-sm-mod_iq_time.c
+++ b/net-im/jabberd/files/patch-sm-mod_iq_time.c
@@ -1,11 +1,11 @@
---- sm/mod_iq_time.c.orig 2007-09-25 22:34:24.000000000 +0200
-+++ sm/mod_iq_time.c 2007-10-04 09:20:14.000000000 +0200
+--- sm/mod_iq_time.c.orig 2007-10-17 21:15:26.000000000 +0200
++++ sm/mod_iq_time.c 2007-10-21 22:13:05.000000000 +0200
@@ -77,7 +77,7 @@
datetime_out(t, dt_DATETIME, buf, 64);
nad_insert_elem(pkt->nad, 2, NAD_ENS(pkt->nad, 1), "utc", buf);
-#ifdef HAVE_TZSET
+#ifdef HAVE_TZNAME
- snprintf(buf, 64, "%+03d:%02d", (int) -timezone/(60*60), (int) -timezone%(60*60));
+ snprintf(buf, 64, "%+03d:%02d", -((int)timezone)/(60*60), -((int)timezone)%(60*60));
#else
snprintf(buf, 64, "%+03d:%02d", (int) tm->tm_gmtoff/(60*60), (int) tm->tm_gmtoff%(60*60));