summaryrefslogtreecommitdiff
path: root/app-text/lout/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/lout/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/lout/files')
-rw-r--r--app-text/lout/files/lout-3.38-makefile.patch33
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