]> git.pld-linux.org Git - packages/mkvtoolnix.git/commitdiff
- fix boost detection on x32
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Jun 2015 19:08:59 +0000 (21:08 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Jun 2015 19:08:59 +0000 (21:08 +0200)
mkvtoolnix.spec
x32.patch [new file with mode: 0644]

index 7b4e110febe9a0e0b517e27a6715d1fb83515491..972a57f9322932e31a3f3a1e02c5149407b525f2 100644 (file)
@@ -17,8 +17,10 @@ Group:               Applications/Multimedia
 Source0:       http://www.bunkus.org/videotools/mkvtoolnix/sources/%{name}-%{version}.tar.xz
 # Source0-md5: b73789734f7ca3041473ad905c89143f
 Patch0:                %{name}-init_locales.patch
+Patch1:                x32.patch
 URL:           http://www.bunkus.org/videotools/mkvtoolnix/
 %{?with_qt:BuildRequires:      Qt5Gui-devel}
+BuildRequires: autoconf
 BuildRequires: boost-devel >= 1.36
 BuildRequires: bzip2-devel
 BuildRequires: expat-devel
@@ -52,6 +54,7 @@ Narzędzia do filmów w formacie Matroska.
 %patch0 -p1
 
 %build
+%{__autoconf}
 %configure \
        --docdir=%{_datadir}/%{name} \
        --enable-gui \
diff --git a/x32.patch b/x32.patch
new file mode 100644 (file)
index 0000000..a51be18
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,11 @@
+--- mkvtoolnix-7.9.0/ac/ax_boost_base.m4~      2015-05-10 11:04:26.000000000 +0200
++++ mkvtoolnix-7.9.0/ac/ax_boost_base.m4       2015-06-18 21:08:07.846272020 +0200
+@@ -94,7 +94,7 @@
+       *)    libsubdirs="lib/${host_cpu}-${host_os}" ;;
+     esac
+     if test $host_cpu = x86_64 -o $host_cpu = ppc64 -o $host_cpu = s390x -o $host_cpu = sparc64; then
+-        libsubdirs="$libsubdirs lib64"
++        libsubdirs="$libsubdirs lib64 libx32"
+     fi
+     libsubdirs="$libsubdirs lib"
This page took 0.039229 seconds and 4 git commands to generate.