diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-11-04 02:40:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-11-04 02:40:41 +0000 |
commit | 72a0fb27d831f161a21a2b97c8c88285e5c18257 (patch) | |
tree | 6de3a683bace8f6a2a6a58f88381f3d49e51bef5 /media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch | |
parent | Added ~sparc keyword. (diff) | |
download | gentoo-2-72a0fb27d831f161a21a2b97c8c88285e5c18257.tar.gz gentoo-2-72a0fb27d831f161a21a2b97c8c88285e5c18257.tar.bz2 gentoo-2-72a0fb27d831f161a21a2b97c8c88285e5c18257.zip |
a52 fixes #32533
Diffstat (limited to 'media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch')
-rw-r--r-- | media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch b/media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch new file mode 100644 index 000000000000..5412b61ee6a6 --- /dev/null +++ b/media-libs/libmpeg3/files/1.5.2-gentoo-mpeg3split.patch @@ -0,0 +1,61 @@ +--- Makefile.orig 2003-11-03 21:31:31.154535784 -0500 ++++ Makefile 2003-11-03 21:32:32.385227304 -0500 +@@ -138,9 +138,8 @@ + + + OUTPUT = $(OBJDIR)/libmpeg3.a +-UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3cat +- +-#$(OBJDIR)/mpeg3split ++SHAREDOUTPUT = $(OBJDIR)/libmpeg3.so ++UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3cat $(OBJDIR)/mpeg3split + + + LIBS = -lm -lpthread +@@ -152,13 +151,14 @@ + $(shell echo $(OBJS) $(ASMOBJS) $(A52OBJS) $(NASMOBJS) > $(OBJDIR)/objs) + $(shell mkdir -p $(DIRS) ) + +-all: $(OUTPUT) $(UTILS) ++all: $(OUTPUT) $(SHAREDOUTPUT) $(UTILS) + + + $(OUTPUT): $(OBJS) $(ASMOBJS) $(NASMOBJS) $(A52OBJS) + ar rcs $(OUTPUT) `cat $(OBJDIR)/objs` + +- ++$(SHAREDOUTPUT): $(OBJS) $(ASMOBJS) $(NASMOBJS) ++ gcc -shared -o $(SHAREDOUTPUT) $(OBJS) $(ASMOBJS) $(NASMOBJS) $(LIBS) + + $(OBJDIR)/mpeg3dump: $(OUTPUT) mpeg3dump.c + $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS) +@@ -169,8 +169,8 @@ + $(OBJDIR)/mpeg3cat: $(OUTPUT) mpeg3cat.c + $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3cat mpeg3cat.c $(OUTPUT) $(LIBS) + +-#$(OBJDIR)/mpeg3split: $(OUTPUT) +-# $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS) ++$(OBJDIR)/mpeg3split: $(OUTPUT) ++ $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS) + + $(OBJDIR)/mpeg2qt: $(OUTPUT) + $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg2qt mpeg2qt.c \ +@@ -213,7 +213,7 @@ + $(OBJDIR)/mpeg3demux.o: mpeg3demux.c + $(OBJDIR)/mpeg3ifo.o: mpeg3ifo.c + $(OBJDIR)/mpeg3io.o: mpeg3io.c +-#$(OBJDIR)/mpeg3split.o: mpeg3split.c ++$(OBJDIR)/mpeg3split.o: mpeg3split.c + $(OBJDIR)/mpeg3title.o: mpeg3title.c + $(OBJDIR)/mpeg3toc.o: mpeg3toc.c + $(OBJDIR)/mpeg3toc3.o: mpeg3toc3.c +--- mpeg3split.c.orig 2003-11-03 21:33:17.923304464 -0500 ++++ mpeg3split.c 2003-11-03 21:33:36.419492616 -0500 +@@ -2,6 +2,7 @@ + #include <stdlib.h> + #include <string.h> + ++#include "mpeg3private.h" + #include "mpeg3private.inc" + + void copy_data(FILE *out, FILE *in, long bytes) |