Re: [MacPorts] #39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope
MacPorts
noreply at macports.org
Mon May 20 17:11:55 PDT 2013
#39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope
-----------------------+----------------------
Reporter: deesto@… | Owner: merijn@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: zmq |
-----------------------+----------------------
Comment (by merijn@…):
Replying to [comment:16 samuel.bateman@…]:
> The patch file doesn't work for me on Snow Leopard.
> {{{
> ---> Applying patches to zmq
> ---> Applying patch-tests-test_disconnect_inproc.cpp.diff
> patching file tests/test_disconnect_inproc.cpp
> /usr/bin/patch: **** malformed patch at line 20: @@ -66,11 +64,6 @@
> }}}
That is a particularly odd line for patch to fail on...
What happens if you run the same patch command manually? Any other output
from it? Relatedly, if you run "patch -v" which version does it output for
you?
> {{{
> Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_zmq/zmq/work/zeromq-3.2.3"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/zmq/files
/patch-tests-test_disconnect_inproc.cpp.diff'
> Exit code: 2
> }}}
Will look in to this tomorrow to see if I can reproduce.
--
Ticket URL: <https://trac.macports.org/ticket/39122#comment:17>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list