[SCM] mpv/master: Explicitly use gcc-4.8 on powerpc and sparc

ghedo at users.alioth.debian.org ghedo at users.alioth.debian.org
Tue Dec 31 11:46:45 UTC 2013


The following commit has been merged in the master branch:
commit 051179481410f2fa80ea51a061c5fd5e79b060c5
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date:   Tue Dec 31 12:27:35 2013 +0100

    Explicitly use gcc-4.8 on powerpc and sparc

diff --git a/debian/control b/debian/control
index ba4a049..e9dc182 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Alessandro Ghedini <ghedo at debian.org>
 Build-Depends: debhelper (>= 9),
+ gcc-4.8 [powerpc sparc],
  ladspa-sdk,
  libasound2-dev [linux-any],
  libass-dev,
diff --git a/debian/rules b/debian/rules
index 617d3af..c06f76c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+ifeq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),powerpc sparc))
+	export CC=gcc-4.8 # fixes #73363
+endif
+
 %:
 	dh $@
 

-- 
mpv packaging



More information about the pkg-multimedia-commits mailing list