From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/coldfire/files: coldfire-0.3.1-headers.patch coldfire-0.3.1-build.patch |
Date: | Sun, 10 Oct 2010 05:03:20 |
Message-Id: | 20101010044406.7E63420051@flycatcher.gentoo.org |
1 | vapier 10/10/10 04:44:06 |
2 | |
3 | Added: coldfire-0.3.1-headers.patch |
4 | coldfire-0.3.1-build.patch |
5 | Log: |
6 | Fix by Christophe LEFEBVRE for doc install #314661 by Diego E. Pettenò. Clean up the build system a bit #336092 by Diego E. Pettenò. |
7 | |
8 | (Portage version: 2.2_rc86/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 app-emulation/coldfire/files/coldfire-0.3.1-headers.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/coldfire/files/coldfire-0.3.1-headers.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/coldfire/files/coldfire-0.3.1-headers.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: coldfire-0.3.1-headers.patch |
17 | =================================================================== |
18 | make sure we have access to HAVE_* defines to include header files: |
19 | |
20 | run.c: In function ‘sigint’: |
21 | run.c:51:2: warning: implicit declaration of function ‘readline’ |
22 | run.c:51:8: warning: cast to pointer from integer of different size |
23 | |
24 | --- a/run.c |
25 | +++ b/run.c |
26 | @@ -7,6 +7,7 @@ |
27 | /**********************************/ |
28 | |
29 | |
30 | +#include "config.h" |
31 | |
32 | #include <stdio.h> |
33 | #include <stdlib.h> |
34 | |
35 | |
36 | |
37 | 1.1 app-emulation/coldfire/files/coldfire-0.3.1-build.patch |
38 | |
39 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/coldfire/files/coldfire-0.3.1-build.patch?rev=1.1&view=markup |
40 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/coldfire/files/coldfire-0.3.1-build.patch?rev=1.1&content-type=text/plain |
41 | |
42 | Index: coldfire-0.3.1-build.patch |
43 | =================================================================== |
44 | respect env build settings |
45 | |
46 | --- a/Makefile.rules.in |
47 | +++ b/Makefile.rules.in |
48 | @@ -1,9 +1,9 @@ |
49 | CC = @CC@ |
50 | -CFLAGS = -Wall -fomit-frame-pointer @CFLAGS@ -I$(TOPSRCDIR) |
51 | +CFLAGS = -Wall @CPPFLAGS@ @CFLAGS@ -I$(TOPSRCDIR) |
52 | LIBS = @LIBS@ |
53 | LD_R = ld -r |
54 | RM = rm -f |
55 | -LDFLAGS = |
56 | +LDFLAGS = @LDFLAGS@ |
57 | |
58 | |
59 | prefix = @prefix@ |
60 | |
61 | fix parallel build problems ... objs need generated tracer, and coldfire |
62 | needs subdir objs |
63 | |
64 | --- a/Makefile.in |
65 | +++ b/Makefile.in |
66 | @@ -22,7 +22,8 @@ |
67 | #Force version to be made before subdirectories |
68 | subdirs-all: version.h |
69 | |
70 | -coldfire: $(OBJS) force |
71 | +$(OBJS): | subdirs-all |
72 | +coldfire: $(OBJS) force | subdirs-all |
73 | $(CC) $(LDFLAGS) $(OBJS) $(SUBDIR_OBJS) -o $@ $(LIBS) |