]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
fix python detect on x32
authorElan Ruusamäe <glen@delfi.ee>
Sat, 28 Mar 2015 20:27:55 +0000 (22:27 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 28 Mar 2015 20:27:55 +0000 (22:27 +0200)
VirtualBox.spec
x32.patch [new file with mode: 0644]

index 3d5672aaceb5676ed0c954d890e239f16736e319..b2f57d57b31099abafa1542e2cdc251c651b2f6c 100644 (file)
@@ -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 (file)
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
This page took 0.040126 seconds and 4 git commands to generate.