ports/multimedia/ffmpeg/files/patch-configure
Martin Matuska abff9e46a8 - Fix architecture recognition [1]
- Remove ARCH hack and rename ARCH to FFMPEG_ARCH (fixes powerpc64 build)
- Synchronize patches between ffmpeg and ffmpeg-devel

PR:		ports/148200 [1]
Submitted by:	Nathan Whitehorn <nwhitehorn@freebsd.org> [1]
2010-08-01 20:41:26 +00:00

31 lines
659 B
Text

--- configure.orig 2010-06-15 21:44:30.000000000 +0200
+++ configure 2010-08-01 20:32:42.201110812 +0200
@@ -1469,7 +1469,7 @@
nm_opts='-g'
# machine
-arch_default=$(uname -m)
+arch_default=$(uname -p)
cpu="generic"
# OS
@@ -2678,8 +2678,8 @@
fi
fi
-check_header linux/videodev.h
-check_header linux/videodev2.h
+#check_header linux/videodev.h
+#check_header linux/videodev2.h
check_header sys/videoio.h
check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs"
@@ -2986,7 +2986,7 @@
SRC_PATH="$source_path"
SRC_PATH_BARE=$source_path
BUILD_ROOT="$PWD"
-ARCH=$arch
+FFMPEG_ARCH=$arch
CC=$cc
AS=$as
LD=$ld