more thoughtful hacks attached, compiles on termux/arm<div><br></div><div><br></div><div>not sure about moving all quantize.c to filegif from license pov... </div><div><br></div><div>0001 objrem target patch just for my convience - removing '.o' files on small space devices... </div><div><br></div><div>openexr patch should be harmless even on openexr 2.4, but please test</div><div><br></div><div>exportedl patch hopefully contain correct freebsd ifdef</div><div><br></div><div><br><br>On Sunday, March 27, 2022, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">see hacks and pkg.list  for list of installed packages<br><br>---------- Forwarded message ----------<br>From: <b>Андрей Рандрианасулу</b> <<a href="mailto:randrik@mail.ru" target="_blank">randrik@mail.ru</a>><br>Date: Sunday, March 27, 2022<br>Subject: cingg bsd hacks<br>To: randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>><br><br><br>
<div><div>giflib error</div><div> </div><div><a href="https://github.com/coin3d/simage/pull/33" target="_blank">https://github.com/coin3d/sima<wbr>ge/pull/33</a></div><div> </div><div>mounting qcow2</div><div> </div><div><div><div>How to mount a qcow2 disk image</div><div>This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.</div><div>Step 1 - Enable NBD on the Host</div><div>modprobe nbd max_part=8</div></div><div> </div><div><div>Step 2 - Connect the QCOW2 as network block device</div><div>qemu-nbd --connect=/dev/nbd0 /var/lib/vz/images/100/vm-100-<wbr>disk-1.qcow2</div></div><div> </div><div><div>Step 3 - Find The Virtual Machine Partitions</div><div>fdisk /dev/nbd0 -l</div></div><div> </div><div><div>Step 4 - Mount the partition from the VM</div><div>mount /dev/nbd0p1 /mnt/somepoint/</div></div><div> </div><div><div>Step 5 - After you done, unmount and disconnect</div><div>umount /mnt/somepoint/</div><div>qemu-nbd --disconnect /dev/nbd0</div><div>rmmod nbd</div><div> </div><div>openexr error:</div><div> </div><div><a href="https://web.archive.org/web/20220327181345/https://gitlab.com/wg1/jpeg-xl/-/issues/238" target="_blank">https://web.archive.org/web/20<wbr>220327181345/https://gitlab.co<wbr>m/wg1/jpeg-xl/-/issues/238</a></div><div> </div><div>real commands</div><div> </div><div>qemu-nbd --connect=/dev/nbd0 /mnt/sdb2/AndrewR/FreeBSD-13.0<wbr>-RELEASE-amd64.qcow2   </div><div> </div><div>fdisk -l /dev/nbd0</div><div> </div><div>mount /dev/nbd0p4 /mnt/zip -o ufstype=ufs2</div><div> </div><div>qemu command:</div><div> </div><div>qemu-system-x86_64 -hda FreeBSD-13.0-RELEASE-amd64.qco<wbr>w2 -enable-kvm -smp 2 -hdb 5gb_ufs.qcow -m 1900</div><div> </div><div>may be you need to manually activate swap in this image with swapon -a ?</div><div> </div><div> </div></div></div><div> </div><div><div><div>--<br>Андрей  Рандрианасулу</div></div></div></div>
<br>
</blockquote></div>