Add patch from pkg/42000 to fix cpu detection on powerpc.
Closes PR pkg/42000
This commit is contained in:
parent
6c6082630d
commit
14eacf652e
3 changed files with 20 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# $NetBSD: Makefile,v 1.52 2009/08/30 11:01:58 jmmv Exp $
|
# $NetBSD: Makefile,v 1.53 2009/09/20 08:13:21 ahoka Exp $
|
||||||
|
|
||||||
PKGREVISION= 2
|
PKGREVISION= 3
|
||||||
|
|
||||||
MAINTAINER= ahoka@NetBSD.org
|
MAINTAINER= ahoka@NetBSD.org
|
||||||
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
|
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: distinfo,v 1.28 2009/09/07 20:05:30 ahoka Exp $
|
$NetBSD: distinfo,v 1.29 2009/09/20 08:13:21 ahoka Exp $
|
||||||
|
|
||||||
SHA1 (ffmpeg-20090611.tar.bz2) = 04e67497f70c64b7a26534d4b67e3a46cdb4b219
|
SHA1 (ffmpeg-20090611.tar.bz2) = 04e67497f70c64b7a26534d4b67e3a46cdb4b219
|
||||||
RMD160 (ffmpeg-20090611.tar.bz2) = 447a72cd1a416f926100c61299d9012535909d9a
|
RMD160 (ffmpeg-20090611.tar.bz2) = 447a72cd1a416f926100c61299d9012535909d9a
|
||||||
|
@ -6,3 +6,4 @@ Size (ffmpeg-20090611.tar.bz2) = 2799194 bytes
|
||||||
SHA1 (patch-aa) = e40f61850fe5c85bdd4b659802601dfacfe73ad1
|
SHA1 (patch-aa) = e40f61850fe5c85bdd4b659802601dfacfe73ad1
|
||||||
SHA1 (patch-bktr) = dadd96835ffbf3a95a5de75647a72edb53171b6f
|
SHA1 (patch-bktr) = dadd96835ffbf3a95a5de75647a72edb53171b6f
|
||||||
SHA1 (patch-configure) = ec0ae3c27026b45d380ecea04ff22518bf652ec0
|
SHA1 (patch-configure) = ec0ae3c27026b45d380ecea04ff22518bf652ec0
|
||||||
|
SHA1 (patch-powerpc) = 0eaf8d81164e1488fdb436d50909d0a633439e6a
|
||||||
|
|
16
multimedia/ffmpeg/patches/patch-powerpc
Normal file
16
multimedia/ffmpeg/patches/patch-powerpc
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
$NetBSD: patch-powerpc,v 1.1 2009/09/20 08:13:21 ahoka Exp $
|
||||||
|
|
||||||
|
Fixes pkg/42000, not necessary aftert the next upgrade.
|
||||||
|
|
||||||
|
--- libswscale/swscale.c.orig 2009-06-04 23:55:52.000000000 +0200
|
||||||
|
+++ libswscale/swscale.c
|
||||||
|
@@ -1307,7 +1307,9 @@ static inline void monoblack2Y(uint8_t *
|
||||||
|
|
||||||
|
#if ARCH_PPC
|
||||||
|
#if (HAVE_ALTIVEC || CONFIG_RUNTIME_CPUDETECT) && CONFIG_GPL
|
||||||
|
+#if !CONFIG_RUNTIME_CPUDETECT
|
||||||
|
#undef COMPILE_C
|
||||||
|
+#endif
|
||||||
|
#define COMPILE_ALTIVEC
|
||||||
|
#endif
|
||||||
|
#endif //ARCH_PPC
|
Loading…
Reference in a new issue