Ticket #46968: patch-opusfile.diff
File patch-opusfile.diff, 1.2 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
5 5 6 6 name opusfile 7 7 version 0.6 8 revision 1 8 9 categories audio 9 10 license BSD 10 11 platforms darwin … … 25 26 port:libogg \ 26 27 port:libopus 27 28 29 patchfiles patch-src-http.c.diff 30 31 configure.args --disable-silent-rules 32 28 33 livecheck.type regex 29 34 livecheck.url ${master_sites} 30 35 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" -
files/patch-src-http.c.diff
1 --- src/http.c.orig 2015-02-26 10:23:12.000000000 -0800 2 +++ src/http.c 2015-02-26 10:27:55.000000000 -0800 3 @@ -721,7 +721,7 @@ 4 char service[6]; 5 memset(&hints,0,sizeof(hints)); 6 hints.ai_socktype=SOCK_STREAM; 7 -#if !defined(_WIN32) 8 +#if defined(AI_NUMERICSERV) 9 hints.ai_flags=AI_NUMERICSERV; 10 #endif 11 OP_ASSERT(_port<=65535U);