]> git.pld-linux.org Git - packages/alsa-tools.git/commitdiff
- fix build on x32 auto/th/alsa-tools-1.0.29-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 19:55:42 +0000 (20:55 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 19:55:42 +0000 (20:55 +0100)
- rel 2

alsa-tools.spec
x32.patch [new file with mode: 0644]

index a6fe46594a51732f06b631c5791fdef4a2bdd07d..e1d6871260f260f939c8777c0cf353c7e20bdca5 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Advanced Linux Sound Architecture (ALSA) - tools
 Summary(pl.UTF-8):     Advanced Linux Sound Architecture (ALSA) - narzędzia
 Name:          alsa-tools
 Version:       1.0.29
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications/Sound
 Source0:       ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
@@ -14,6 +14,7 @@ Source0:      ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-sh.patch
 Patch2:                %{name}-csp.patch
+Patch3:                x32.patch
 URL:           http://www.alsa-project.org/
 BuildRequires: alsa-lib-devel >= 1.0.24
 BuildRequires: autoconf
@@ -219,6 +220,7 @@ Statyczna biblioteka liblo10k1.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # don't BR gtk+ 1.2
 echo 'AC_DEFUN([AM_PATH_GTK],[])' > echomixer/acinclude.m4
diff --git a/x32.patch b/x32.patch
new file mode 100644 (file)
index 0000000..fb6ff5b
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,17 @@
+--- alsa-tools-1.0.29/qlo10k1/acinclude.m4~    2015-03-12 20:44:19.000000000 +0100
++++ alsa-tools-1.0.29/qlo10k1/acinclude.m4     2015-03-12 20:49:11.196554255 +0100
+@@ -100,9 +100,13 @@
+         if test x$QT_IS_STATIC = xno ; then
+             QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.so 2> /dev/null` 
+             QT_IS_DYNAMIC64=`ls $QTDIR/lib64/libqt*.so 2> /dev/null` 
+-            if test "x$QT_IS_DYNAMIC" = x && test "x$QT_IS_DYNAMIC64" = x;  then
++            QT_IS_DYNAMICX32=`ls $QTDIR/libx32/libqt*.so 2> /dev/null` 
++            if test "x$QT_IS_DYNAMIC" = x && test "x$QT_IS_DYNAMIC64" = x && test "x$QT_IS_DYNAMICX32" = x;  then
+                 AC_MSG_ERROR([*** Couldn't find any Qt libraries])
+             fi
++            if test "x$QT_IS_DYNAMICX32" != x;  then
++              QT_LIB_DIR="libx32"
++            fi
+             if test "$QTFORCE32" = "no" && test "x$QT_IS_DYNAMIC64" != x;  then
+               QT_LIB_DIR="lib64"
+             fi
This page took 0.027965 seconds and 4 git commands to generate.