ports/multimedia/ffmpeg-devel/files/patch-configure
Martin Matuska 0a001e1a93 - Update to 2010-11-30 snapshot
- Add optional support for frei0r and OpenCV
2010-11-30 14:33:15 +00:00

31 lines
654 B
Text

--- configure.orig 2010-11-04 11:38:39.000000000 +0100
+++ configure 2010-11-30 13:49:43.509425851 +0100
@@ -1556,7 +1556,7 @@
nm_opts='-g'
# machine
-arch_default=$(uname -m)
+arch_default=$(uname -p)
cpu="generic"
# OS
@@ -2824,8 +2824,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"
@@ -3144,7 +3144,7 @@
SRC_PATH_BARE=$source_path
BUILD_ROOT="$PWD"
CC_IDENT=$cc_ident
-ARCH=$arch
+FFMPEG_ARCH=$arch
CC=$cc
AS=$as
LD=$ld