summaryrefslogtreecommitdiff
path: root/net/kiax/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-16 20:53:23 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-16 20:53:23 +0000
commit1a8d814387468ff546b004b7845520aa80b37338 (patch)
treebba2961da72c97ab6b5e897ab33d802e1d56836c /net/kiax/patches
parentfa3a5ce6cbe84e8fa97014d3f0e1530386cadbd4 (diff)
downloadpkgsrc-1a8d814387468ff546b004b7845520aa80b37338.tar.gz
Add DragonFly support.
Diffstat (limited to 'net/kiax/patches')
-rw-r--r--net/kiax/patches/patch-ab4
-rw-r--r--net/kiax/patches/patch-ac4
-rw-r--r--net/kiax/patches/patch-ad4
-rw-r--r--net/kiax/patches/patch-ae18
-rw-r--r--net/kiax/patches/patch-ai4
5 files changed, 21 insertions, 13 deletions
diff --git a/net/kiax/patches/patch-ab b/net/kiax/patches/patch-ab
index 891440dd86e..03ab2e1de12 100644
--- a/net/kiax/patches/patch-ab
+++ b/net/kiax/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+$NetBSD: patch-ab,v 1.2 2006/02/16 20:53:23 joerg Exp $
--- lib/portaudio/pa_unix_oss/pa_unix_oss.c.orig 2005-04-05 23:53:41.000000000 +0200
+++ lib/portaudio/pa_unix_oss/pa_unix_oss.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
#include <linux/soundcard.h>
#else
-#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <sys/soundcard.h>
#else
#include <machine/soundcard.h> /* JH20010905 */
diff --git a/net/kiax/patches/patch-ac b/net/kiax/patches/patch-ac
index 9fd67966386..ac8cddfc325 100644
--- a/net/kiax/patches/patch-ac
+++ b/net/kiax/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+$NetBSD: patch-ac,v 1.2 2006/02/16 20:53:23 joerg Exp $
--- lib/portmixer/px_unix_oss/px_unix_oss.c.orig 2005-04-05 23:53:41.000000000 +0200
+++ lib/portmixer/px_unix_oss/px_unix_oss.c
@@ -6,7 +6,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
#ifdef __linux__
#include <linux/soundcard.h>
#else
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/soundcard.h>
+#else
#include <machine/soundcard.h> /* JH20010905 */
diff --git a/net/kiax/patches/patch-ad b/net/kiax/patches/patch-ad
index c8417950721..b37c97a99e6 100644
--- a/net/kiax/patches/patch-ad
+++ b/net/kiax/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+$NetBSD: patch-ad,v 1.2 2006/02/16 20:53:23 joerg Exp $
--- lib/libiax2/src/iax-client.h.orig 2005-04-05 23:53:41.000000000 +0200
+++ lib/libiax2/src/iax-client.h
@@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
#endif
-#ifndef LINUX
-+#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+#else
#define socklen_t int
#endif
diff --git a/net/kiax/patches/patch-ae b/net/kiax/patches/patch-ae
index c1450a68546..b17b3d49740 100644
--- a/net/kiax/patches/patch-ae
+++ b/net/kiax/patches/patch-ae
@@ -1,12 +1,20 @@
-$NetBSD: patch-ae,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+$NetBSD: patch-ae,v 1.2 2006/02/16 20:53:23 joerg Exp $
--- lib/libiax2/src/iax.c.orig 2005-04-13 19:30:39.000000000 +0200
+++ lib/libiax2/src/iax.c
-@@ -55,9 +55,11 @@ void gettimeofday(struct timeval *tv, st
+@@ -36,6 +36,7 @@ void gettimeofday(struct timeval *tv, st
+
+ #else
+
++#include <sys/types.h>
+ #include <netdb.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+@@ -55,9 +56,11 @@ void gettimeofday(struct timeval *tv, st
#ifndef MACOSX
#include <malloc.h>
#ifndef SOLARIS
-+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
#include <error.h>
#endif
#endif
@@ -14,12 +22,12 @@ $NetBSD: patch-ae,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
#endif
-@@ -87,11 +89,15 @@ void gettimeofday(struct timeval *tv, st
+@@ -87,11 +90,15 @@ void gettimeofday(struct timeval *tv, st
#else
#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
diff --git a/net/kiax/patches/patch-ai b/net/kiax/patches/patch-ai
index 8573b5f9479..fe518635a1d 100644
--- a/net/kiax/patches/patch-ai
+++ b/net/kiax/patches/patch-ai
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+$NetBSD: patch-ai,v 1.2 2006/02/16 20:53:23 joerg Exp $
--- lib/libiax2/src/md5.c.orig 2005-04-05 23:53:41.000000000 +0200
+++ lib/libiax2/src/md5.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ai,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
in the public domain as per the copyright below */
-#ifdef FREEBSD
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
# include <machine/endian.h>
#elif defined(LINUX)
# include <endian.h>