<div dir="ltr">Hi,<div><br></div><div>Yeah i noticed the patch was smaller than i first thought, so i applied it manually and fixed it where needed. The result is here (sorry not in a repository, just did a quick fix without making it work on older GHC):</div>
<div><br></div><div><a href="https://github.com/ghcjs/ghcjs.github.com/tree/master/packages/cabal-src/primitive/0.5.0.1.1">https://github.com/ghcjs/ghcjs.github.com/tree/master/packages/cabal-src/primitive/0.5.0.1.1</a><br>
</div><div><br></div><div>Now GHCJS builds again :)</div><div><br></div><div>Luite</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 10:49 PM, Jan Stolarek <span dir="ltr">&lt;<a href="mailto:jan.stolarek@p.lodz.pl" target="_blank">jan.stolarek@p.lodz.pl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Luite,<br>
<br>
I applied my patches only to primitive package stored as a boot library in GHC repositories. My<br>
changes should probably be ported upstream to main repo of primitive package, but I admit I don&#39;t<br>
know what the workflow for this is.<br>
<br>
If you desperately need latest version of primitive working with GHC HEAD you can port my changes<br>
manually - it&#39;s only three lines of code!<br>
<br>
Janek<br>
<br>
Dnia środa, 14 sierpnia 2013, napisałeś:<br>
<div class="HOEnZb"><div class="h5">&gt; hi Jan and Roman,<br>
&gt;<br>
&gt; I&#39;m trying to install the primitive package with the latest GHC HEAD,<br>
&gt; however the version available at<br>
&gt;<br>
&gt; <a href="https://github.com/ghc/packages-primitive" target="_blank">https://github.com/ghc/packages-primitive</a><br>
&gt;<br>
&gt; which includes the primops changes, appears to be based on version 0.4 and<br>
&gt; is missing setByteArray. The <a href="http://code.haskell.org" target="_blank">code.haskell.org</a> repository does have<br>
&gt; setByteArray but not the primops updates. Is there an updated version 0.5<br>
&gt; somewhere available?<br>
&gt;<br>
&gt; cheers,<br>
&gt;<br>
&gt; Luite<br>
<br>
<br>
</div></div></blockquote></div><br></div>