diff options
-rw-r--r-- | multimedia/ffmpeg/distinfo | 4 | ||||
-rw-r--r-- | multimedia/ffmpeg/patches/patch-configure | 23 |
2 files changed, 22 insertions, 5 deletions
diff --git a/multimedia/ffmpeg/distinfo b/multimedia/ffmpeg/distinfo index 628ddc99f5e..ade5592d288 100644 --- a/multimedia/ffmpeg/distinfo +++ b/multimedia/ffmpeg/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.24 2009/06/14 01:04:44 hasso Exp $ +$NetBSD: distinfo,v 1.25 2009/06/14 11:27:00 ahoka Exp $ SHA1 (ffmpeg-20090611.tar.bz2) = 04e67497f70c64b7a26534d4b67e3a46cdb4b219 RMD160 (ffmpeg-20090611.tar.bz2) = 447a72cd1a416f926100c61299d9012535909d9a Size (ffmpeg-20090611.tar.bz2) = 2799194 bytes SHA1 (patch-bktr) = dadd96835ffbf3a95a5de75647a72edb53171b6f -SHA1 (patch-configure) = 13ca14bbcb544e7f5168517a0e2a6c6dc9826847 +SHA1 (patch-configure) = c4f5cbe0cecac291547a9fd652f3e6c3c92fde2c diff --git a/multimedia/ffmpeg/patches/patch-configure b/multimedia/ffmpeg/patches/patch-configure index 5af9fc955e3..b2e505e52d7 100644 --- a/multimedia/ffmpeg/patches/patch-configure +++ b/multimedia/ffmpeg/patches/patch-configure @@ -1,7 +1,7 @@ -$NetBSD: patch-configure,v 1.5 2009/06/14 01:04:44 hasso Exp $ +$NetBSD: patch-configure,v 1.6 2009/06/14 11:27:01 ahoka Exp $ ---- configure.orig 2009-06-14 03:13:44 +0300 -+++ configure 2009-06-14 03:20:42 +0300 +--- configure.orig 2009-06-10 22:50:53.000000000 +0200 ++++ configure @@ -1632,6 +1632,8 @@ case $target_os in freebsd) disable need_memalign @@ -11,3 +11,20 @@ $NetBSD: patch-configure,v 1.5 2009/06/14 01:04:44 hasso Exp $ bsd/os) osextralibs="-lpoll -lgnugetopt" strip="strip -d" +@@ -1996,10 +1998,13 @@ enabled vis && add_cflags -mcpu=ultraspa + + # --- + # big/little-endian test +-check_cc <<EOF || die "endian test failed" +-unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; ++check_exec <<EOF || enable bigendian ++int main() ++{ ++ long one = 1; ++ return !(*((char *)(&one))); ++} + EOF +-od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian + + # --- + # check availability of some header files |