From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/whowatch/files: whowatch-1.8.3-verbose.patch whowatch-1.8.3-exit.patch |
Date: | Mon, 05 Nov 2012 03:02:21 |
Message-Id: | 20121105030157.F3BCA215F3@flycatcher.gentoo.org |
1 | jer 12/11/05 03:01:57 |
2 | |
3 | Added: whowatch-1.8.3-verbose.patch |
4 | whowatch-1.8.3-exit.patch |
5 | Log: |
6 | Build verbosely. Fix the code that is used when the select() configure test fails (bug #441798 by Stephen Lecheler). |
7 | |
8 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 | |
10 | Revision Changes Path |
11 | 1.1 app-admin/whowatch/files/whowatch-1.8.3-verbose.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/whowatch/files/whowatch-1.8.3-verbose.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/whowatch/files/whowatch-1.8.3-verbose.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: whowatch-1.8.3-verbose.patch |
17 | =================================================================== |
18 | --- src/Makefile.in.org 2006-03-16 11:53:33.000000000 +0100 |
19 | +++ src/Makefile.in 2012-11-05 03:45:48.854646487 +0100 |
20 | @@ -35,7 +35,7 @@ |
21 | |
22 | top_builddir = . |
23 | |
24 | -CC = @echo " Compiling" [$@] ; @CC@ |
25 | +CC = @CC@ |
26 | PACKAGE = @PACKAGE@ |
27 | VERSION = @VERSION@ |
28 | |
29 | @@ -60,7 +60,7 @@ |
30 | whowatch_LDFLAGS = |
31 | CFLAGS = @CFLAGS@ -Wall -I. -ggdb |
32 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
33 | -CCLD = @echo " Creating" $@ ; @CC@ |
34 | +CCLD = @CC@ |
35 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
36 | |
37 | all: whowatch |
38 | |
39 | |
40 | |
41 | 1.1 app-admin/whowatch/files/whowatch-1.8.3-exit.patch |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/whowatch/files/whowatch-1.8.3-exit.patch?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/whowatch/files/whowatch-1.8.3-exit.patch?rev=1.1&content-type=text/plain |
45 | |
46 | Index: whowatch-1.8.3-exit.patch |
47 | =================================================================== |
48 | --- a/src/whowatch.c |
49 | +++ b/src/whowatch.c |
50 | @@ -436,12 +436,12 @@ |
51 | gettimeofday(&after, 0); |
52 | tv.tv_sec -= (after.tv_sec - before.tv_sec); |
53 | if(retval > 0) { |
54 | - int key = read_key(); |
55 | + key = getkey(); |
56 | key_action(key); |
57 | } |
58 | if(tv.tv_sec <= 0) { |
59 | ticks++; |
60 | - periodic(); |
61 | + main_periodic(); |
62 | tv.tv_sec = TIMEOUT; |
63 | } |
64 | #endif |