forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpeg-tools-1.5b-as-needed.patch
47 lines (37 loc) · 1.49 KB
/
mpeg-tools-1.5b-as-needed.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- convert/Makefile 2009-08-25 21:19:42.000000000 +0200
+++ convert/Makefile.new 2009-08-25 21:22:54.000000000 +0200
@@ -53,13 +53,13 @@
all: $(TARGETS)
vidtoppm: vidtoppm.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtoppm vidtoppm.c
+ $(CC) $(LDFLAGS) $(INCLUDE) [email protected] -o $@ -lXvid -lX11
vidtojpeg: vidtojpeg.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtojpeg vidtojpeg.c
+ $(CC) $(LDFLAGS) $(INCLUDE) [email protected] -o $@ -lXvid -lX11
vidtoeyuv: vidtoeyuv.c
- $(CC) -lXvid -lX11 $(INCLUDE) -o vidtoeyuv vidtoeyuv.c
+ $(CC) $(LDFLAGS) $(INCLUDE) [email protected] -o $@ -lXvid -lX11
wc:; wc -l *.[ch] *.pl *.table
clean:; rm -f *.o core *~ gmon.out $(TARGETS)
--- convert/mtv/Makefile 2009-08-25 21:19:42.000000000 +0200
+++ convert/mtv/Makefile.new 2009-08-25 21:24:31.000000000 +0200
@@ -15,12 +15,12 @@
default: movieToVid
movieToVid: movieToVid.o
- $(CC) $(CFLAGS) -o movieToVid movieToVid.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ [email protected]
clean:
rm -f core lintout makeout tags Makefile.bak *.o \
movieToVid
purify: $(OBJ)
- $(PURIFY) $(CC) $(OBJ) -o movieToVid.purify
+ $(PURIFY) $(CC) $(LDFLAGS) $(OBJ) -o movieToVid.purify
--- mpeg_encode//Makefile 2009-08-25 21:19:43.000000000 +0200
+++ mpeg_encode//Makefile.new 2009-08-25 21:27:12.000000000 +0200
@@ -203,7 +203,6 @@
############
mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB)
- $(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
- strip mpeg_encode
+ $(PURIFY) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
profile: $(MP_ALL_OBJS)