<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">When something like that happens, it's best if you take a look and see.<div>What's it telling you -- hmm-- what could be ending in the middle of the line?<br><div>maybe your patch download file is incomplete for some reason?</div><div><br></div><div><br></div><div>$cat&nbsp;qt4-SL-Libcxx-fix-revised.diff&nbsp;</div><div><br></div><div>should look like this (as you can also see from web page).</div><div><br></div><div>-----------------------------</div><div><br></div><div><br></div><div><div>--- Portfile.orig<span class="Apple-tab-span" style="white-space:pre">        </span>2016-09-18 21:43:07.000000000 -0700</div><div>+++ Portfile<span class="Apple-tab-span" style="white-space:pre">        </span>2016-09-18 21:45:27.000000000 -0700</div><div>@@ -585,6 +585,18 @@</div><div>&nbsp;</div><div>&nbsp; &nbsp; &nbsp;}</div><div>&nbsp;</div><div>+ &nbsp; &nbsp;# on Leopard and Snow Leopard with libc++ForOlderSystems installed, SDK must be unset as we can only use system libraries</div><div>+ &nbsp; &nbsp;# also, a missing library link must be replaced for build to succeed</div><div>+ &nbsp; &nbsp;# &lt;<a href="https://trac.macports.org/ticket/51844">https://trac.macports.org/ticket/51844</a>&gt;</div><div>+ &nbsp; &nbsp;platform darwin {</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp;if {${os.major} == 9 || ${os.major} == 10} {</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if {${configure.cxx_stdlib} eq "libc++"} {</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set SDK ""</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;configure.ldflags-append "-lobjc"</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>+ &nbsp; &nbsp;}</div><div>+</div><div>&nbsp; &nbsp; &nbsp;# set the SDK, if it was found and exists</div><div>&nbsp;</div><div>&nbsp; &nbsp; &nbsp;if {[file exists ${SDK}]} {</div></div><div><br></div><div><br></div><div>--------------------------</div><div><br></div><div>if not, I guess you should download it again. Or copy/paste the part above, as it's very short :&gt;</div><div><br></div><div>Best,</div><div><br></div><div>K</div><div><br></div><div><br><div><div><div>On 2016-09-21, at 6:38 PM, [ftp83plus] wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmmm, I get:<div><br></div><div><div>sudo patch &lt;qt4-SL-Libcxx-fix-revised.diff&nbsp;</div><div>patch unexpectedly ends in middle of line</div><div>patch: **** Only garbage was found in the patch input.</div></div><div><br></div><div><br><div><div>El 2016-09-21, a las 13:40, Ken Cunningham escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><a href="https://trac.macports.org/attachment/ticket/51844/qt4-SL-Libcxx-fix-revised.diff" class="">https://trac.macports.org/attachment/ticket/51844/qt4-SL-Libcxx-fix-revised.diff</a></blockquote></div><br></div></div></blockquote></div><br></div></div></div></body></html>