[packages/VirtualBox] fix python detect on x32
glen
glen at pld-linux.org
Sat Mar 28 21:35:52 CET 2015
commit d5e18103c864c7329ae405f40bec9a4364291a02
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 28 22:27:55 2015 +0200
fix python detect on x32
VirtualBox.spec | 2 ++
x32.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 3d5672a..b2f57d5 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -82,6 +82,7 @@ Patch9: pld-guest.patch
Patch10: 16-no-update.patch
Patch11: 18-system-xorg.patch
Patch12: %{pname}-all-translations.patch
+Patch13: x32.patch
URL: http://www.virtualbox.org/
%if %{with userspace}
%ifarch %{x8664}
@@ -524,6 +525,7 @@ cd ../..\
%patch10 -p1
%patch11 -p1
%patch12 -p0
+%patch13 -p1
%{__sed} -i -e 's, at VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..6bc0631
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,11 @@
+--- VirtualBox-4.3.26/configure~ 2015-03-28 22:23:14.000000000 +0200
++++ VirtualBox-4.3.26/configure 2015-03-28 22:26:31.627419402 +0200
+@@ -1943,7 +1943,7 @@
+ fi
+ for p in $PYTHONDIR; do
+ for d in $SUPPYTHONLIBS; do
+- for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
++ for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 libx32 lib/64 lib; do
+ echo "compiling the following source file:" >> $LOG
+ cat $ODIR.tmp_src.cc >> $LOG
+ echo "using the following command line:" >> $LOG
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/d5e18103c864c7329ae405f40bec9a4364291a02
More information about the pld-cvs-commit
mailing list