gpm/gpm-dependencies.patch

27 lines
868 B
Diff
Raw Normal View History

From: Philipp Thomas <pth@suse.de>
Date: 2013-04-16 13:06:54+02:00
Subject: pass directory for gpm.h
The directory containing gpm.h wasn't passed to the compiler when
generating dependencies.
---
src/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
signed-off-by: Philipp Thomas <pth@suse.de>
Index: src/Makefile.in
===================================================================
--- src/Makefile.in.orig 2012-10-26 23:21:38.000000000 +0200
+++ src/Makefile.in 2013-04-16 13:06:07.913236362 +0200
@@ -96,7 +96,7 @@ $(DEPFILE) dep: prog/gpm-root.c
# create dependencies
for DEPS in `echo *.c */*.c`; do \
- $(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
+ $(CC) -I. -I $(srcdir) -I $(srcdir)/headers -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
$(SED) 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
### INSTALL