summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache>2013-07-13 09:28:25 +0000
committerobache <obache>2013-07-13 09:28:25 +0000
commit995b37faaf58140a2774dba909866434d320e586 (patch)
tree546d3bc755059334c4ad7081690ee0aaf75cf298 /net
parent10b0554a90afbce8563ba06a8e51bc8ad9b18dbd (diff)
downloadpkgsrc-995b37faaf58140a2774dba909866434d320e586.tar.gz
try to fix build for the case missing AI_ADDRCONFIG (NetBSD-5).
Diffstat (limited to 'net')
-rw-r--r--net/libmms/distinfo3
-rw-r--r--net/libmms/patches/patch-src_mms.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/libmms/distinfo b/net/libmms/distinfo
index 350a57dcfd5..e6ca957cfa9 100644
--- a/net/libmms/distinfo
+++ b/net/libmms/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2013/06/16 21:12:26 wiz Exp $
+$NetBSD: distinfo,v 1.5 2013/07/13 09:28:25 obache Exp $
SHA1 (libmms-0.6.2.tar.gz) = cdef62fd1a0e2585dd2111fc94b032f84290e351
RMD160 (libmms-0.6.2.tar.gz) = c1bf89f7460ec208ab7180510dbb3673d67dea5a
Size (libmms-0.6.2.tar.gz) = 340230 bytes
+SHA1 (patch-src_mms.c) = 46e644843cc041eae942639560753d5e3ca9b678
diff --git a/net/libmms/patches/patch-src_mms.c b/net/libmms/patches/patch-src_mms.c
new file mode 100644
index 00000000000..0decc5bf2e4
--- /dev/null
+++ b/net/libmms/patches/patch-src_mms.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_mms.c,v 1.1 2013/07/13 09:28:25 obache Exp $
+
+* for the case missing AI_ADDRCONFIG
+
+--- src/mms.c.orig 2011-01-17 10:40:09.000000000 +0000
++++ src/mms.c
+@@ -70,6 +70,10 @@
+ #include "uri.h"
+ #include "mms-common.h"
+
++#ifndef AI_ADDRCONFIG
++#define AI_ADDRCONFIG 0
++#endif
++
+ /*
+ * mms specific types
+ */