diff options
author | ahoka <ahoka> | 2008-09-08 00:16:35 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2008-09-08 00:16:35 +0000 |
commit | 6d2d071ccb74eb3a18d8db19b899e4cb046860f6 (patch) | |
tree | 363490c3e05fdbe1f5695f470444203cc8379292 /multimedia/ffmpeg/patches | |
parent | b7a43c327a87b975d7d7e00a27d8e932a7725be1 (diff) | |
download | pkgsrc-6d2d071ccb74eb3a18d8db19b899e4cb046860f6.tar.gz |
Explicitly disable any mmx or sse code.
Fix endian detection.
Diffstat (limited to 'multimedia/ffmpeg/patches')
-rw-r--r-- | multimedia/ffmpeg/patches/patch-configure | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/multimedia/ffmpeg/patches/patch-configure b/multimedia/ffmpeg/patches/patch-configure index aad8233a5df..37448b0e63f 100644 --- a/multimedia/ffmpeg/patches/patch-configure +++ b/multimedia/ffmpeg/patches/patch-configure @@ -1,4 +1,4 @@ -$NetBSD: patch-configure,v 1.1 2008/09/07 23:39:38 ahoka Exp $ +$NetBSD: patch-configure,v 1.2 2008/09/08 00:16:35 ahoka Exp $ --- configure.orig 2008-07-24 12:53:32.000000000 +0200 +++ configure @@ -11,7 +11,25 @@ $NetBSD: patch-configure,v 1.1 2008/09/07 23:39:38 ahoka Exp $ vfwcap_demuxer_deps="capCreateCaptureWindow" vfwcap_demuxer_extralibs="-lvfw32" x11_grab_device_demuxer_deps="x11grab XShmCreateImage" -@@ -1789,6 +1789,7 @@ EOF +@@ -1586,10 +1586,14 @@ enabled vis && add_cflags "-mcpu=ultrasp + + # --- + # 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 +@@ -1789,6 +1793,7 @@ EOF check_header linux/videodev.h check_header linux/videodev2.h |