summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-04-07 19:34:10 +0000
committerhasso <hasso@pkgsrc.org>2009-04-07 19:34:10 +0000
commitffaa59cfe22833026792bf5b8d3a20c54f97788b (patch)
tree235b872a7f776a4710751f335541252e6a8193e8 /comms
parent68844e714d768b5f0eafca638395d8736ffcd77b (diff)
downloadpkgsrc-ffaa59cfe22833026792bf5b8d3a20c54f97788b.tar.gz
Make it build on DragonFly master and recent versions of FreeBSD (probably).
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk/distinfo4
-rw-r--r--comms/asterisk/patches/patch-aj10
2 files changed, 7 insertions, 7 deletions
diff --git a/comms/asterisk/distinfo b/comms/asterisk/distinfo
index 88407e1469d..042af7186c2 100644
--- a/comms/asterisk/distinfo
+++ b/comms/asterisk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2009/01/26 13:15:49 jnemeth Exp $
+$NetBSD: distinfo,v 1.39 2009/04/07 19:34:10 hasso Exp $
SHA1 (asterisk-1.2.31.tar.gz) = a7550ead37fb095918fdc8a98f9ef449017ea67f
RMD160 (asterisk-1.2.31.tar.gz) = 35de82df02ea725c85a7b157677570989764888a
@@ -11,7 +11,7 @@ SHA1 (patch-ae) = a3b9dbf8017286dcc9327d65fb9c47c7b7ac5b79
SHA1 (patch-af) = 393bfbe218e843039fc9f4bc59a42ba1b9e896bd
SHA1 (patch-ag) = 7adec0d05371f6ffa56e067770c04c8acec2d922
SHA1 (patch-ai) = 81c0ff8f8a273562a64ab7cfb301d578e18808e3
-SHA1 (patch-aj) = 9111528ac9702040233308c655e5233120ee9bcf
+SHA1 (patch-aj) = 3145d699119bb00efe049502c424ac7086ad1e18
SHA1 (patch-ak) = 3027134258138ca9163d9569548c7d4faffb874f
SHA1 (patch-al) = 1457c9a12eb5c5621eb244423c2190fb430866e7
SHA1 (patch-am) = a652b091462673390e19ab47e17500d055779094
diff --git a/comms/asterisk/patches/patch-aj b/comms/asterisk/patches/patch-aj
index 57d6aae7ef0..1edc03dfaba 100644
--- a/comms/asterisk/patches/patch-aj
+++ b/comms/asterisk/patches/patch-aj
@@ -1,13 +1,13 @@
-$NetBSD: patch-aj,v 1.2 2006/01/13 20:32:38 riz Exp $
+$NetBSD: patch-aj,v 1.3 2009/04/07 19:34:10 hasso Exp $
---- utils.c.orig 2006-01-13 00:23:00.000000000 +0000
-+++ utils.c
-@@ -58,7 +58,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
+--- utils.c.orig 2007-02-26 02:34:31 +0200
++++ utils.c 2009-04-06 11:53:07 +0300
+@@ -60,7 +60,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
static char base64[64];
static char b2a[256];
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__DragonFly__)
++#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) || (defined(__DragonFly__) && __DragonFly_version < 200202)
/* duh? ERANGE value copied from web... */
#define ERANGE 34