From d5e18103c864c7329ae405f40bec9a4364291a02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 28 Mar 2015 22:27:55 +0200 Subject: [PATCH] fix python detect on x32 --- VirtualBox.spec | 2 ++ x32.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 x32.patch 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,@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 -- 2.44.0