e34d9fc588
- Adapt patches to changed sources. - Add patch to pass the directory for gpm.h when generating dependencies: gpm-dependencies.patch - Add patch that enables the creation of the libgpm.so symlink again and installs it: gpm-do_create_symlink.patch - Removed patches not needed anymore: gpm-gcc4.3.patch gpm-libtool.patch config-guess-sub-update.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=25
27 lines
868 B
Diff
27 lines
868 B
Diff
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
|