Make it build on DragonFly master and recent versions of FreeBSD (probably).
This commit is contained in:
parent
68844e714d
commit
ffaa59cfe2
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue