pkgsrc/net/kiax/patches/patch-ae
adam ec506d9816 Changes 0.8.5:
* Updated Bulgarian, French, Polish, Spanish, German, Italian translations
* Fixed possible crash on systray click
* Fixed accidental dialing on group collapse
* Fixed DTMF from keyboard - invalid keys are filtered
* Cleaner disconnect (unregister all reigstered accounts)
* Contacts are now grouped in account folders
* New iaxclient with tipix Echo Cancellation
* Added support for Italian, Spanish and Hebrew languages
* While calling just press number keys to send DTMF (no need to switch to dialpad)
* Call register shows call duration
* Added icons for registration status tracking
* Added options for muting incoming and outgoing rings
* Added option to run command on incoming call
* Fixed bugs.
2006-04-14 09:56:03 +00:00

30 lines
894 B
Text

$NetBSD: patch-ae,v 1.3 2006/04/14 09:56:03 adam Exp $
--- lib/libiax2/src/iax.c.orig 2006-02-05 01:01:33.000000000 +0100
+++ lib/libiax2/src/iax.c
@@ -38,6 +38,7 @@ void gettimeofday(struct timeval *tv, vo
#else
+#include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -62,7 +63,7 @@ void gettimeofday(struct timeval *tv, vo
#ifndef MACOSX
#include <malloc.h>
#ifndef SOLARIS
-#if !defined(__NetBSD__) && !defined(__FreeBSD__)
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
#include <error.h>
#endif
#endif
@@ -97,7 +98,7 @@ void gettimeofday(struct timeval *tv, vo
#ifdef SOLARIS
#define IAX_SOCKOPTS MSG_DONTWAIT
#else
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__DragonFly__)
#define IAX_SOCKOPTS MSG_DONTWAIT
#else /* Linux and others */
#define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL