diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-11-13 21:39:01 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-11-13 21:39:01 +0800 |
commit | 4193c1ccf0040ce505f50748e140783c0ddd1d2f (patch) | |
tree | 8cb2918171154764f6fde794bbe21baefa4c9439 /net/kiax | |
parent | 000f1018682a28d7bf2c7838edb943182e81650d (diff) | |
download | freebsd-ports-gnome-4193c1ccf0040ce505f50748e140783c0ddd1d2f.tar.gz freebsd-ports-gnome-4193c1ccf0040ce505f50748e140783c0ddd1d2f.tar.zst freebsd-ports-gnome-4193c1ccf0040ce505f50748e140783c0ddd1d2f.zip |
Another build fix, this time for 5.x.
Submitted by: maintainer
Diffstat (limited to 'net/kiax')
-rw-r--r-- | net/kiax/files/patch-lib_libiax2_src_iax.c | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/net/kiax/files/patch-lib_libiax2_src_iax.c b/net/kiax/files/patch-lib_libiax2_src_iax.c index a40fca37b952..2a82e5ee885d 100644 --- a/net/kiax/files/patch-lib_libiax2_src_iax.c +++ b/net/kiax/files/patch-lib_libiax2_src_iax.c @@ -1,6 +1,6 @@ ---- lib/libiax2/src/iax.c.orig Sat Nov 12 17:29:58 2005 -+++ lib/libiax2/src/iax.c Sat Nov 12 17:31:06 2005 -@@ -53,9 +53,11 @@ +--- lib/libiax2/src/iax.c.orig Sun Nov 13 13:59:36 2005 ++++ lib/libiax2/src/iax.c Sun Nov 13 14:21:46 2005 +@@ -53,11 +53,13 @@ #include <time.h> #ifndef MACOSX @@ -8,7 +8,24 @@ #include <malloc.h> #ifndef SOLARIS #include <error.h> -+#endif #endif #endif ++#endif + + #endif +@@ -85,10 +87,14 @@ + #ifdef MACOSX + #define IAX_SOCKOPTS MSG_DONTWAIT + #else ++#ifdef __FreeBSD__ ++#define IAX_SOCKOPTS MSG_DONTWAIT ++#else + #ifdef SOLARIS + #define IAX_SOCKOPTS MSG_DONTWAIT + #else /* Linux and others */ + #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL ++#endif + #endif + #endif + #endif |