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 /dev-tex/dvi2tty/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/dvi2tty/files')
-rw-r--r-- | dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch new file mode 100644 index 000000000000..1d46f1954531 --- /dev/null +++ b/dev-tex/dvi2tty/files/dvi2tty-5.3.4-cflags.patch @@ -0,0 +1,29 @@ +--- Makefile ++++ Makefile +@@ -6,11 +6,10 @@ + # This Makefile does not work for MSDOS. Make your + # own one, or compile by hand. + # +-CC = gcc ++CC ?= gcc + +-CFLAGS = -Wall -O2 ++CFLAGS += -Wall + # CFLAGS = -Wall -O2 -fomit-frame-pointer +-LDFLAGS = -s + + prefix = ${DESTDIR}/usr + mandir = $(prefix)/share/man/man1 +@@ -20,10 +19,10 @@ + all: dvi2tty disdvi + + dvi2tty:dvi2tty.o dvistuff.o +- $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o ++ $(CC) $(LDFLAGS) -o dvi2tty dvi2tty.o dvistuff.o + + disdvi:disdvi.o +- $(CC) $(LFLAGS) -o disdvi disdvi.o ++ $(CC) $(LDFLAGS) -o disdvi disdvi.o + + dvi2tty.o: dvi2tty.c dvi2tty.h + |