View | Details | Raw Unified | Return to bug 36035
Collapse All | Expand All

(-)a/virtualbox.spec (-9 / +20 lines)
Lines 60-66 Link Here
60
60
61
Name: virtualbox
61
Name: virtualbox
62
Version: 5.2.24
62
Version: 5.2.24
63
Release: alt3
63
Release: alt4
64
64
65
Summary: VM VirtualBox OSE - Virtual Machine for x86 hardware
65
Summary: VM VirtualBox OSE - Virtual Machine for x86 hardware
66
License: GPL
66
License: GPL
Lines 565-577 cd additions >/dev/null Link Here
565
565
566
  install -d %buildroot%xdrv_pre_d
566
  install -d %buildroot%xdrv_pre_d
567
  cat >%buildroot%xdrv_pre_d/virtualbox <<EOF
567
  cat >%buildroot%xdrv_pre_d/virtualbox <<EOF
568
#!/bin/bash
568
#!/bin/sh
569
569
570
if test -f /proc/bus/pci/devices && grep -q 80eebeef /proc/bus/pci/devices; then
570
if [ -f /proc/bus/pci/devices ] && \
571
	mkdir -p %ld_so_confdir
571
	[ -x "$(which VBoxClient)" ] && \
572
	echo %vboxadddir > %ld_so_conf
572
	VBoxClient --check3d && \
573
else
573
	grep -q 80eebeef /proc/bus/pci/devices;
574
	rm -f %ld_so_conf
574
	then
575
		mkdir -p %ld_so_confdir
576
		echo %vboxadddir > %ld_so_conf
577
		ldconfig
578
	else
579
		rm -f %ld_so_conf
580
		# update /etc/ld.so.cache
581
		ldconfig
575
fi
582
fi
576
EOF
583
EOF
577
584
Lines 805-810 mountpoint -q /dev || { Link Here
805
%vboxdir/sdk/bindings/xpcom/include/VBox/com
812
%vboxdir/sdk/bindings/xpcom/include/VBox/com
806
813
807
%changelog
814
%changelog
815
* Wed Feb 06 2019 Mikhail Novosyolov <mikhailnov@altlinux.org> 5.2.24-alt4
816
- Propperly check if 3D acceleration is supported before preloading
817
  VirtualBox's libGL.so.1 and libEGL.so.1 and update ldconfig cache
818
  after changes to /etc/ld.so.conf.d/*.conf (Closes: 36035)
819
808
* Fri Jan 25 2019 Evgeny Sinelnikov <sin@altlinux.org> 5.2.24-alt3
820
* Fri Jan 25 2019 Evgeny Sinelnikov <sin@altlinux.org> 5.2.24-alt3
809
- Fix rEFInd 0.11.4 icons missing due to inaccessible files on ISO9660 partition (Closes: 34435)
821
- Fix rEFInd 0.11.4 icons missing due to inaccessible files on ISO9660 partition (Closes: 34435)
810
822
811
- 

Return to bug 36035