diff options
author | fjoe <fjoe@FreeBSD.org> | 2007-02-23 15:41:18 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2007-02-23 15:41:18 +0800 |
commit | 5b871ac700828c9c28cb1f4158556e05890a0401 (patch) | |
tree | e54a14a7ae3d117b5d0f56bfbe4008f65844c5fb /net/asterisk-bristuff | |
parent | befc763387d4724fb1068e1619d313dae87f7bd1 (diff) | |
download | freebsd-ports-graphics-5b871ac700828c9c28cb1f4158556e05890a0401.tar.gz freebsd-ports-graphics-5b871ac700828c9c28cb1f4158556e05890a0401.tar.zst freebsd-ports-graphics-5b871ac700828c9c28cb1f4158556e05890a0401.zip |
Fix build with gcc41 on amd64.
Diffstat (limited to 'net/asterisk-bristuff')
-rw-r--r-- | net/asterisk-bristuff/files/patch-utils.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/asterisk-bristuff/files/patch-utils.c b/net/asterisk-bristuff/files/patch-utils.c new file mode 100644 index 00000000000..651e7b43d2b --- /dev/null +++ b/net/asterisk-bristuff/files/patch-utils.c @@ -0,0 +1,15 @@ +--- utils.c.orig Fri Feb 23 07:31:48 2007 ++++ utils.c Fri Feb 23 07:34:20 2007 +@@ -58,7 +58,11 @@ + static char base64[64]; + static char b2a[256]; + +-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) ++#if defined(__FreeBSD__) ++#include <osreldate.h> ++#endif ++ ++#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) + + /* duh? ERANGE value copied from web... */ + #define ERANGE 34 |