summaryrefslogtreecommitdiff
path: root/package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2009-07-27 12:20:27 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-27 17:17:04 +0200
commit6fecd53e99591775a4117e9e1ba18043fda36b27 (patch)
treef52a4490494a8c968522c3d2efd575589095775c /package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
parent33a3e7ba2e3fe9ba0b5d198c0488d006f28eb273 (diff)
mplayer: Update mplayer to version 1.0rc2.
Closes #331. - Remove patches applied upstream - Add updated avr32 patch from Hans-Christian Egtvedt. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch')
-rw-r--r--package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch b/package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
new file mode 100644
index 000000000..bcba2fffa
--- /dev/null
+++ b/package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
@@ -0,0 +1,18 @@
+mplayer: don't unconditionally force largefile support for libraries
+---
+ common.mak | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: MPlayer-1.0rc1/common.mak
+===================================================================
+--- MPlayer-1.0rc1.orig/common.mak
++++ MPlayer-1.0rc1/common.mak
+@@ -5,7 +5,7 @@
+ SRC_DIR = $(SRC_PATH)/lib$(NAME)
+ VPATH = $(SRC_DIR)
+
+-CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
++CFLAGS += -DHAVE_AV_CONFIG_H \
+ -D_ISOC9X_SOURCE -I$(BUILD_ROOT) -I$(SRC_PATH) \
+ -I$(SRC_PATH)/libavutil $(OPTFLAGS)
+ SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)