--- libavcodec/Makefile.orig	2007-10-07 15:49:37.000000000 -0400
+++ libavcodec/Makefile	2007-11-14 02:49:09.000000000 -0500
@@ -6,6 +6,10 @@
 
 CFLAGS += -I$(SRC_PATH)/libswscale -I$(SRC_PATH)/libavcodec
 
+ifeq ($(ARCH_X86_64),yes)
+CFLAGS += -DBROKEN_RELOCATIONS
+endif
+
 OBJS = allcodecs.o \
        audioconvert.o \
        bitstream.o \
