diff options
author | obache <obache> | 2011-01-02 12:23:32 +0000 |
---|---|---|
committer | obache <obache> | 2011-01-02 12:23:32 +0000 |
commit | 4eb2b3e695f4dff46ca6b68f72e3cdf93e337bc8 (patch) | |
tree | 68972d915d3fe1367274c3fc1665872dd2687a59 /multimedia | |
parent | c042ba4cb009103fd5339c8341545f8dcf3bbe7b (diff) | |
download | pkgsrc-4eb2b3e695f4dff46ca6b68f72e3cdf93e337bc8.tar.gz |
Fixes build on DragonFly-2.8.2 for SCTP support.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libnms/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libnms/patches/patch-ab | 21 | ||||
-rw-r--r-- | multimedia/libnms/patches/patch-ac | 22 |
3 files changed, 46 insertions, 1 deletions
diff --git a/multimedia/libnms/distinfo b/multimedia/libnms/distinfo index f5c694ec574..131ca75f90a 100644 --- a/multimedia/libnms/distinfo +++ b/multimedia/libnms/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2011/01/02 12:23:32 obache Exp $ SHA1 (libnms-0.6.0.tar.bz2) = 914676b86c1eb15068a95984b197796693bbfe99 RMD160 (libnms-0.6.0.tar.bz2) = 4c5b82969d0e60be9c2fb686161c0ef619287bbd Size (libnms-0.6.0.tar.bz2) = 347203 bytes SHA1 (patch-aa) = bcb4f65cb547281b475eb21468e93f34ee806260 +SHA1 (patch-ab) = b613b522f1b68d5f34549e337064c69bbd5f10bc +SHA1 (patch-ac) = be1f5eb82de917259ea30c2652666dad81cedfd8 diff --git a/multimedia/libnms/patches/patch-ab b/multimedia/libnms/patches/patch-ab new file mode 100644 index 00000000000..d60b14adf91 --- /dev/null +++ b/multimedia/libnms/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2011/01/02 12:23:32 obache Exp $ + +* DragonFly not have SOL_SCTP, use IPPROTO_SCTP instead. + +--- wsocket/server_connect.c.orig 2006-11-21 11:46:34.000000000 +0000 ++++ wsocket/server_connect.c +@@ -29,6 +29,14 @@ + #include <nemesi/wsocket.h> + #include <nemesi/version.h> + ++#ifdef HAVE_SCTP_NEMESI ++# ifndef SOL_SCTP ++# ifdef IPPROTO_SCTP ++# define SOL_SCTP IPPROTO_SCTP ++# endif ++# endif ++#endif ++ + /* DOC++ */ + /** + * Esegue la connessione al "server" tramite la porta "port". 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 |