summaryrefslogtreecommitdiff
path: root/lang/ratfor/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ratfor/files/patch-Makefile')
-rw-r--r--lang/ratfor/files/patch-Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/ratfor/files/patch-Makefile b/lang/ratfor/files/patch-Makefile
index 2fca4ba2d99e..7ded0badaae8 100644
--- a/lang/ratfor/files/patch-Makefile
+++ b/lang/ratfor/files/patch-Makefile
@@ -1,5 +1,14 @@
--- Makefile.orig 2013-11-16 17:28:28.000000000 +0100
+++ Makefile 2013-11-16 17:27:51.000000000 +0100
+@@ -11,7 +11,7 @@
+ # On GNU, use S_CHAR="char"
+ #
+
+-CFLAGS+= -DF77 -DS_CHAR="char"
++CFLAGS+= -DF77 -DS_CHAR="char" -Wno-error=return-type
+ #CFLAGS+= -DS_CHAR="char"
+ OBJS= rat4.o lookup.o getopt.o
+
@@ -26,13 +26,15 @@
clean:
rm -f *.o *~ ratfor ratfor77 a.out test testw test.f testw.f