mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
fixes some inline assembly crashes (libswscale.so) Reported by: avg (on freebsd-multimedia@)
49 lines
1.1 KiB
Text
49 lines
1.1 KiB
Text
--- configure.orig 2010-11-04 11:38:39.000000000 +0100
|
|
+++ configure 2010-12-13 00:26:47.034162631 +0100
|
|
@@ -1556,7 +1556,7 @@
|
|
nm_opts='-g'
|
|
|
|
# machine
|
|
-arch_default=$(uname -m)
|
|
+arch_default=$(uname -p)
|
|
cpu="generic"
|
|
|
|
# OS
|
|
@@ -1603,7 +1603,7 @@
|
|
|
|
CC_O='-o $@'
|
|
|
|
-host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
|
|
+host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
|
|
host_libs='-lm'
|
|
|
|
target_path='$(CURDIR)'
|
|
@@ -2249,7 +2249,7 @@
|
|
die "C compiler test failed."
|
|
fi
|
|
|
|
-add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
|
|
+add_cppflags -D_ISOC99_SOURCE
|
|
check_cflags -std=c99
|
|
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
|
|
#include <stdlib.h>
|
|
@@ -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
|