diff options
author | obache <obache> | 2011-01-02 12:23:32 +0000 |
---|---|---|
committer | obache <obache> | 2011-01-02 12:23:32 +0000 |
commit | a33d6458e64cd6d002af5f154baeafcb72e1a324 (patch) | |
tree | 68972d915d3fe1367274c3fc1665872dd2687a59 /multimedia/libnms/patches/patch-ac | |
parent | b7a513b993787990a2aa30585e33fef79a31a21c (diff) | |
download | pkgsrc-a33d6458e64cd6d002af5f154baeafcb72e1a324.tar.gz |
Fixes build on DragonFly-2.8.2 for SCTP support.
Diffstat (limited to 'multimedia/libnms/patches/patch-ac')
-rw-r--r-- | multimedia/libnms/patches/patch-ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/libnms/patches/patch-ac b/multimedia/libnms/patches/patch-ac new file mode 100644 index 00000000000..3cbd67287ed --- /dev/null +++ b/multimedia/libnms/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2011/01/02 12:23:32 obache Exp $ + +* DragonFly not have SCTP_UNORDERD, use MSG_UNORDERED instead. + +--- rtsp/rtsp.c.orig 2006-10-20 13:04:53.000000000 +0000 ++++ rtsp/rtsp.c +@@ -33,6 +33,15 @@ + #include <nemesi/rtsp.h> + #include <nemesi/version.h> + ++#ifdef HAVE_SCTP_NEMESI ++# ifdef __DragonFly__ ++# include <netinet/sctp.h> ++# ifdef MSG_UNORDERED ++# define SCTP_UNORDERED MSG_UNORDERED ++# endif ++# endif ++#endif ++ + #ifndef BUFFERSIZE + #define BUFFERSIZE 163840 + #endif |