diff options
Diffstat (limited to 'app-text/lout/files/lout-3.38-makefile.patch')
-rw-r--r-- | app-text/lout/files/lout-3.38-makefile.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/lout/files/lout-3.38-makefile.patch b/app-text/lout/files/lout-3.38-makefile.patch new file mode 100644 index 000000000000..cb7fc66bf432 --- /dev/null +++ b/app-text/lout/files/lout-3.38-makefile.patch @@ -0,0 +1,33 @@ +--- lout-3.38/makefile.orig 2008-10-13 23:35:17.000000000 +0200 ++++ lout-3.38/makefile 2009-09-04 16:40:00.000000000 +0200 +@@ -295,11 +295,9 @@ + ZLIB = + ZLIBPATH = + +-CC = gcc +- + RCOPY = cp -r + +-COPTS = -ansi -pedantic -Wall -O3 ++COPTS += -ansi -pedantic -Wall + + CFLAGS = -DOS_UNIX=$(OSUNIX) \ + -DOS_DOS=$(OSDOS) \ +@@ -333,7 +331,7 @@ + z49.o z50.o z51.o z52.o + + lout: $(OBJS) +- $(CC) -o lout $(OBJS) $(ZLIB) -lm ++ $(CC) $(COPTS) $(LDFLAGS) -o lout $(OBJS) $(ZLIB) -lm + chmod a+x lout + + $(OBJS): externs.h +@@ -341,7 +339,7 @@ + externs.h: + + prg2lout: prg2lout.c +- $(CC) $(COPTS) -o prg2lout prg2lout.c ++ $(CC) $(COPTS) $(LDFLAGS) -o prg2lout prg2lout.c + chmod a+x prg2lout + + all: lout prg2lout |