Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/xvt/files: xvt-makefile.patch xvt-int-main.patch
Date: Fri, 04 Sep 2009 08:50:40
Message-Id: E1MjZJl-00088P-PA@stork.gentoo.org
1 jer 09/09/04 13:59:09
2
3 Added: xvt-makefile.patch xvt-int-main.patch
4 Log:
5 Turn seds into patches. Respect CFLAGS (bug #241554), CC.
6 (Portage version: 2.2_rc40/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 x11-terms/xvt/files/xvt-makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xvt/files/xvt-makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xvt/files/xvt-makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: xvt-makefile.patch
15 ===================================================================
16 --- xvt-1.0/Makefile.orig 2009-09-04 15:45:08.000000000 +0200
17 +++ xvt-1.0/Makefile 2009-09-04 15:46:00.000000000 +0200
18 @@ -27,7 +27,7 @@
19 #ARCH=AIX3
20 #ARCH=ULTRIX
21 #ARCH=HPUX
22 -#ARCH=LINUX
23 +ARCH=LINUX
24 #
25 #
26 # If this line is uncommented then `Make config' will unclude several options
27 @@ -107,7 +107,7 @@
28 OBJ=xvt.o xsetup.o command.o screen.o sbar.o ttyinit.o
29 SRC=xvt.c xsetup.c command.c screen.c sbar.c ttyinit.c
30 #
31 -CFLAGS=-O $(INCLUDE) $(OPTIONS) $(DEFS) -D$(ARCH)
32 +CFLAGS+= $(INCLUDE) $(OPTIONS) $(DEFS) -D$(ARCH)
33 #
34 xvt: $(OBJ)
35 $(CC) $(LDFLAGS) -o xvt $(OBJ) $(LIB) -lX11
36
37
38
39 1.1 x11-terms/xvt/files/xvt-int-main.patch
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xvt/files/xvt-int-main.patch?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xvt/files/xvt-int-main.patch?rev=1.1&content-type=text/plain
43
44 Index: xvt-int-main.patch
45 ===================================================================
46 --- xvt-1.0/xvt.c.orig 2009-09-04 15:49:13.000000000 +0200
47 +++ xvt-1.0/xvt.c 2009-09-04 15:49:13.000000000 +0200
48 @@ -41,9 +41,9 @@
49 #endif /* UKC_LOCATIONS */
50
51 #ifdef __STDC__
52 -void main(int,char **);
53 +int main(int,char **);
54 #else
55 -void main();
56 +int main();
57 #endif
58
59 extern int debugging;
60 @@ -67,7 +67,7 @@
61 * master end of the pseudo-teletype pair with the command talking to
62 * the slave.
63 */
64 -void
65 +int
66 main(argc,argv)
67 int argc;
68 char **argv;