aboutsummaryrefslogtreecommitdiff
path: root/videoteco/patches
diff options
context:
space:
mode:
Diffstat (limited to 'videoteco/patches')
-rw-r--r--videoteco/patches/0001-flags.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/videoteco/patches/0001-flags.patch b/videoteco/patches/0001-flags.patch
new file mode 100644
index 0000000..4635d0c
--- /dev/null
+++ b/videoteco/patches/0001-flags.patch
@@ -0,0 +1,22 @@
+--- a/makefile.in 2010-09-23 13:00:42.992049806 +0200
++++ b/makefile.in 2010-09-23 13:03:31.060802259 +0200
+@@ -1,8 +1,8 @@
+ # @configure_input@
+
+ CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = @CPPFLAGS@
++CFLAGS = @CFLAGS@ @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+
+ ifeq (@GCC@,yes)
+@@ -17,7 +17,7 @@
+ LIBFLAGS = -ltermcap
+
+ teco: $(OBJS)
+- $(CC) -o teco $(OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o teco $(OBJS) $(LIBS)
+
+ tecbuf.o: tecbuf.c $(HEADERS)
+ $(CC) $(CFLAGS) -c tecbuf.c