diff -urN MPlayer-1.0pre5__ORIGINAL__/libavcodec/i386/dsputil_mmx.c MPlayer-1.0pre5/libavcodec/i386/dsputil_mmx.c --- MPlayer-1.0pre5__ORIGINAL__/libavcodec/i386/dsputil_mmx.c 2004-07-15 02:18:47.000000000 +0200 +++ MPlayer-1.0pre5/libavcodec/i386/dsputil_mmx.c 2004-08-04 16:08:38.917252120 +0200 @@ -57,7 +57,7 @@ "pcmpeqd %%" #regd ", %%" #regd " \n\t"\ "paddb %%" #regd ", %%" #regd " \n\t" ::) -#ifndef PIC +#ifndef __PIC__ #define MOVQ_BONE(regd) __asm __volatile ("movq %0, %%" #regd " \n\t" ::"m"(mm_bone)) #define MOVQ_WTWO(regd) __asm __volatile ("movq %0, %%" #regd " \n\t" ::"m"(mm_wtwo)) #else diff -urN MPlayer-1.0pre5__ORIGINAL__/libavcodec/i386/dsputil_mmx_rnd.h MPlayer-1.0pre5/libavcodec/i386/dsputil_mmx_rnd.h --- MPlayer-1.0pre5__ORIGINAL__/libavcodec/i386/dsputil_mmx_rnd.h 2004-07-15 02:18:47.000000000 +0200 +++ MPlayer-1.0pre5/libavcodec/i386/dsputil_mmx_rnd.h 2004-08-04 16:08:38.918251968 +0200 @@ -96,7 +96,7 @@ "addl %5, %3 \n\t" "subl $4, %0 \n\t" "jnz 1b \n\t" -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) #else :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) @@ -191,7 +191,7 @@ "addl $32, %2 \n\t" "subl $2, %0 \n\t" "jnz 1b \n\t" -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) #else :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) diff -urN MPlayer-1.0pre5__ORIGINAL__/libavcodec/Makefile MPlayer-1.0pre5/libavcodec/Makefile --- MPlayer-1.0pre5__ORIGINAL__/libavcodec/Makefile 2004-07-15 02:18:47.000000000 +0200 +++ MPlayer-1.0pre5/libavcodec/Makefile 2004-08-04 16:08:38.894255616 +0200 @@ -7,7 +7,7 @@ VPATH=$(SRC_PATH)/libavcodec # NOTE: -I.. is needed to include config.h -CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE +CFLAGS=$(OPTFLAGS) -fPIC -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE OBJS= common.o utils.o mem.o allcodecs.o \ mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ diff -urN MPlayer-1.0pre5__ORIGINAL__/libavcodec/msmpeg4.c MPlayer-1.0pre5/libavcodec/msmpeg4.c --- MPlayer-1.0pre5__ORIGINAL__/libavcodec/msmpeg4.c 2004-07-15 02:18:47.000000000 +0200 +++ MPlayer-1.0pre5/libavcodec/msmpeg4.c 2004-08-04 16:08:38.921251512 +0200 @@ -716,7 +716,7 @@ necessitate to modify mpegvideo.c. The problem comes from the fact they decided to store the quantized DC (which would lead to problems if Q could vary !) */ -#if defined ARCH_X86 && !defined PIC +#if defined ARCH_X86 && !defined __PIC__ asm volatile( "movl %3, %%eax \n\t" "shrl $1, %%eax \n\t" Files MPlayer-1.0pre5__ORIGINAL__/libmpdemux/.aviheader.c.swp and MPlayer-1.0pre5/libmpdemux/.aviheader.c.swp differ diff -urN MPlayer-1.0pre5__ORIGINAL__/libmpeg2/cpu_accel.c MPlayer-1.0pre5/libmpeg2/cpu_accel.c --- MPlayer-1.0pre5__ORIGINAL__/libmpeg2/cpu_accel.c 2003-07-28 00:55:25.000000000 +0200 +++ MPlayer-1.0pre5/libmpeg2/cpu_accel.c 2004-08-04 16:08:38.924251056 +0200 @@ -35,7 +35,7 @@ int AMD; uint32_t caps; -#ifndef PIC +#ifndef __PIC__ #define cpuid(op,eax,ebx,ecx,edx) \ __asm__ ("cpuid" \ : "=a" (eax), \