aboutsummaryrefslogtreecommitdiff
path: root/videoteco/patches/0001-flags.patch
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
commit0a95e15cdc87de0136734e784d487f9b03170bbb (patch)
treeadae83e51ba5b78869f51aa43cfe8ebfb762ec41 /videoteco/patches/0001-flags.patch
downloadnanonote-ports-0a95e15cdc87de0136734e784d487f9b03170bbb.tar.gz
initial checkin of my nanonote ports feed, including a small README.
Diffstat (limited to 'videoteco/patches/0001-flags.patch')
-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