Skip to content

Commit

Permalink
try to fix build for the case missing AI_ADDRCONFIG (NetBSD-5).
Browse files Browse the repository at this point in the history
  • Loading branch information
obache committed Jul 13, 2013
1 parent b125936 commit 750a2fd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/libmms/distinfo
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions net/libmms/patches/patch-src_mms.c
Original file line number Diff line number Diff line change
@@ -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
*/

0 comments on commit 750a2fd

Please sign in to comment.