diff options
author | marino <marino@pkgsrc.org> | 2012-09-01 10:02:34 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-09-01 10:02:34 +0000 |
commit | 837bfa65124f3fcadd2e9964a651e4d1615d8f4f (patch) | |
tree | 43d3887b329b40d5bcaa67d442b12006da3a1ebf /devel | |
parent | 2992f9ad94b11b529f9030742937b320eb0ca67d (diff) | |
download | pkgsrc-837bfa65124f3fcadd2e9964a651e4d1615d8f4f.tar.gz |
devel/SOPE: Fix build for DragonFly
DragonFly needs same switches as FreeBSD.
Diffstat (limited to 'devel')
4 files changed, 43 insertions, 1 deletions
diff --git a/devel/SOPE/distinfo b/devel/SOPE/distinfo index 2fcc9b61cb1..112ac6d6657 100644 --- a/devel/SOPE/distinfo +++ b/devel/SOPE/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.2 2011/12/14 15:02:24 manu Exp $ +$NetBSD: distinfo,v 1.3 2012/09/01 10:02:34 marino Exp $ SHA1 (SOPE-2.0.0b3.tar.gz) = 9f2b337f0d9015377fba81a4e1cc0e95141e6b59 RMD160 (SOPE-2.0.0b3.tar.gz) = 45311144e883c7415a338ae7e634865b92c5baaa Size (SOPE-2.0.0b3.tar.gz) = 2153481 bytes +SHA1 (patch-sope-core_NGStreams_NGInternetSocketAddress.m) = a4fe1cf1949579fab9a135c7a98dbfdf877ce315 +SHA1 (patch-sope-core_NGStreams_NGLocalSocketAddress.m) = f5c6cb90d64ea48316175390d973ba59e44f29b9 +SHA1 (patch-sope-core_NGStreams_NGLocalSocketDomain.m) = 23dfa6732f3af2165b1adcf2637fc77bfeadfe3c diff --git a/devel/SOPE/patches/patch-sope-core_NGStreams_NGInternetSocketAddress.m b/devel/SOPE/patches/patch-sope-core_NGStreams_NGInternetSocketAddress.m new file mode 100644 index 00000000000..21a0c1df59c --- /dev/null +++ b/devel/SOPE/patches/patch-sope-core_NGStreams_NGInternetSocketAddress.m @@ -0,0 +1,13 @@ +$NetBSD: patch-sope-core_NGStreams_NGInternetSocketAddress.m,v 1.1 2012/09/01 10:02:34 marino Exp $ + +--- sope-core/NGStreams/NGInternetSocketAddress.m.orig 2011-11-04 12:39:19.000000000 +0000 ++++ sope-core/NGStreams/NGInternetSocketAddress.m +@@ -48,7 +48,7 @@ + #include "NGInternetSocketDomain.h" + #include "common.h" + +-#if defined(HAVE_GETHOSTBYNAME_R) && !defined(linux) && !defined(__FreeBSD__) ++#if defined(HAVE_GETHOSTBYNAME_R) && !defined(linux) && !defined(__FreeBSD__) && !defined(__DragonFly__) + #define USE_GETHOSTBYNAME_R 1 + #endif + diff --git a/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketAddress.m b/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketAddress.m new file mode 100644 index 00000000000..e5ffaffdc96 --- /dev/null +++ b/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketAddress.m @@ -0,0 +1,13 @@ +$NetBSD: patch-sope-core_NGStreams_NGLocalSocketAddress.m,v 1.1 2012/09/01 10:02:34 marino Exp $ + +--- sope-core/NGStreams/NGLocalSocketAddress.m.orig 2011-11-04 12:39:19.000000000 +0000 ++++ sope-core/NGStreams/NGLocalSocketAddress.m +@@ -28,7 +28,7 @@ + + #include "config.h" + +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) + # include <sys/types.h> + #else + # include <sys/un.h> diff --git a/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketDomain.m b/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketDomain.m new file mode 100644 index 00000000000..5cfbd6f15cc --- /dev/null +++ b/devel/SOPE/patches/patch-sope-core_NGStreams_NGLocalSocketDomain.m @@ -0,0 +1,13 @@ +$NetBSD: patch-sope-core_NGStreams_NGLocalSocketDomain.m,v 1.1 2012/09/01 10:02:34 marino Exp $ + +--- sope-core/NGStreams/NGLocalSocketDomain.m.orig 2011-11-04 12:39:19.000000000 +0000 ++++ sope-core/NGStreams/NGLocalSocketDomain.m +@@ -25,7 +25,7 @@ + #include "NGLocalSocketAddress.h" + #include "NGSocket.h" + +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) + # include <sys/types.h> + # include <sys/socket.h> + #else |