diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/jpegtoavi/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/jpegtoavi/files')
-rw-r--r-- | media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch new file mode 100644 index 000000000000..9f562f293b31 --- /dev/null +++ b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch @@ -0,0 +1,31 @@ +--- Makefile.orig 2010-03-02 23:06:07.000000000 +0200 ++++ Makefile 2010-03-02 23:11:59.000000000 +0200 +@@ -1,4 +1,4 @@ +-CC=gcc ++CC ?= gcc + INCLUDE= + LIBS=-L. + SOURCES=jpegtoavi.c avifmt.h byteswap.h llist.h llist.c +@@ -10,7 +10,8 @@ + PACKAGE_VERSION_MIN=5 + PACKAGE_VERSION=$(PACKAGE_VERSION_MAJ).$(PACKAGE_VERSION_MIN) + VERBOSE=0 +-CCFLAGS=$(INCLUDE) -O3 -Wall -ansi -g -DLINUX -D__UNIX__ \ ++CFLAGS += -Wall -ansi ++CPPFLAGS += $(INCLUDE) -DLINUX -D__UNIX__ \ + -DVERSION_MIN=$(PACKAGE_VERSION_MIN) \ + -DVERSION_MAJ=$(PACKAGE_VERSION_MAJ) \ + -DVERBOSE=$(VERBOSE) +@@ -27,10 +28,10 @@ + all: jpegtoavi + + %.o: %.c +- $(CC) $(CCFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ + + jpegtoavi: jpegtoavi.o llist.o +- $(CC) $(CCFLAGS) jpegtoavi.o llist.o $(LIBS) -o $@ ++ $(CC) $(LDFLAGS) jpegtoavi.o llist.o $(LIBS) -o $@ + + distdir: $(DISTFILES) + $(am__remove_distdir) |