<div dir="ltr">What would be very nice would be if you created a PR to add the iOS build hints to <a href="http://gdal.org">gdal.org</a> - so that this knowledge does not get lost ...</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Jul 2022 at 10:21, Nik Sands <<a href="mailto:nik@nixanz.com">nik@nixanz.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Even,<div><br></div><div>Yes, you’re updated patch has worked on a (clean) distribution of version 3.5.  It has built for iOS successfully now, without my second dodgy work-around patch.</div><div><br></div><div>Thanks again.</div><div><br></div><div>Nik.</div><div><br><div><br><blockquote type="cite"><div>On 6 Jul 2022, at 6:28 pm, Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>> wrote:</div><br><div><div>Nik,<br><br>can you revert your patches and just try the one at <a href="https://github.com/OSGeo/gdal/pull/6024" target="_blank">https://github.com/OSGeo/gdal/pull/6024</a> ?<br><br>The difference with my previous one is that it also unset variables in the cache. Testing locally on Linux (by running it unconditionnaly), I now see that the generated port/cpl_config.h in the build directory no longer define HAVE_STATVFS64, which should avoid the need for your patch in the .cpp file<br><br>Even<br><br>Le 06/07/2022 à 08:41, Nik Sands a écrit :<br><blockquote type="cite">Hello again,<br><br>This is just a quick note to follow up on my many questions over the past few days.<br><br>I have successfully built GDAL 3.5 for iOS, and I have fully documented the procedure I used at:<br><br><span style="white-space:pre-wrap">    </span><a href="https://gis.stackexchange.com/questions/434514/build-gdal-3-x-for-ios/435316#435316" target="_blank">https://gis.stackexchange.com/questions/434514/build-gdal-3-x-for-ios/435316#435316</a><br><br>Note that it includes two patches.  The second patch is a very dodgy kludge.  I hope that people who know better than I do will be able to come up with a better solution and that both patches will be incorporated into future distributions of GDAL.<br><br>Thanks to Even and the many other people who replied and offered advice and suggestions (and a patch).<br><br>Cheers,<br>Nik.<br><br>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote><br>-- <br><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>My software is free, but my time generally not.<br><br></div></div></blockquote></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>========================================================</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">NIK SANDS</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Line Tamer | Time Traveller | Space Cadet</div></div></div></div></div></div>
</div>
<br></div></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>