5406b65b04
PR: ports/150083 Submitted by: David Naylor <naylor.b.david (at) gmail.com>
39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
--- ffmpeg/configure.orig 2006-10-25 21:31:11.000000000 +0200
|
|
+++ ffmpeg/configure 2010-09-05 17:13:00.000000000 +0200
|
|
@@ -556,7 +556,7 @@
|
|
audio_oss="yes"
|
|
dv1394="no"
|
|
make="gmake"
|
|
-add_cflags "-pthread"
|
|
+add_cflags "-fomit-frame-pointer"
|
|
;;
|
|
GNU/kFreeBSD)
|
|
v4l="no"
|
|
@@ -1001,7 +1001,7 @@
|
|
|
|
# compute MMX state
|
|
if test $mmx = "default"; then
|
|
- if test $arch = "x86" -o $arch = "x86_64"; then
|
|
+ if test $arch = "x86"; then
|
|
mmx="yes"
|
|
else
|
|
mmx="no"
|
|
@@ -1304,7 +1304,7 @@
|
|
# these are off by default, so fail if requested and not available
|
|
enabled dts && require libdts dts.h dts_init -ldts -lm
|
|
enabled libgsm && require libgsm gsm.h gsm_create -lgsm
|
|
-enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame -lm
|
|
+enabled mp3lame && require LAME lame/lame.h lame_init -L${LOCALBASE}/lib -lmp3lame -lm
|
|
enabled vorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbis -lvorbisenc -logg
|
|
enabled libogg && require libogg ogg/ogg.h ogg_sync_init -logg
|
|
enabled xvid && require XviD xvid.h xvid_global -lxvidcore
|
|
@@ -1514,9 +1514,6 @@
|
|
check_cflags -Wall
|
|
check_cflags -Wno-switch
|
|
check_cflags -Wdisabled-optimization
|
|
-check_cflags -Wpointer-arith
|
|
-check_cflags -Wredundant-decls
|
|
-check_cflags -Winline
|
|
|
|
# add some linker flags
|
|
check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
|