Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/vpncwatch/files: vpncwatch-1.7-Makefile.patch vpncwatch-1.7-literal.patch vpncwatch-1.7-gcc4.3.patch
Date: Sun, 03 Oct 2010 11:49:50
Message-Id: 20101003114943.D24F920051@flycatcher.gentoo.org
1 jlec 10/10/03 11:49:43
2
3 Added: vpncwatch-1.7-Makefile.patch
4 vpncwatch-1.7-literal.patch
5 vpncwatch-1.7-gcc4.3.patch
6 Log:
7 Imported from sunrise overlay, 258150
8
9 (Portage version: 2.2_rc88/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.1 net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch?rev=1.1&content-type=text/plain
16
17 Index: vpncwatch-1.7-Makefile.patch
18 ===================================================================
19 --- Makefile 2008-02-04 09:44:34.000000000 +0100
20 +++ Makefile.new 2009-02-08 18:49:06.061291832 +0100
21 @@ -10,7 +10,7 @@
22 OBJS = vpncwatch.o proc.o net.o
23
24 CC ?= gcc
25 -CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
26 +CFLAGS += -D_GNU_SOURCE
27
28 vpncwatch: $(OBJS)
29 $(CC) $(CFLAGS) -o $@ $(OBJS)
30 @@ -13,7 +13,7 @@
31 CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
32
33 vpncwatch: $(OBJS)
34 - $(CC) $(CFLAGS) -o $@ $(OBJS)
35 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
36
37 .c.o:
38 $(CC) $(CFLAGS) -c -o $@ $<
39
40
41
42
43 1.1 net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch?rev=1.1&content-type=text/plain
47
48 Index: vpncwatch-1.7-literal.patch
49 ===================================================================
50 --- net.c 2008-02-04 09:28:51.000000000 +0100
51 +++ net.c.new 2009-02-08 17:13:31.188241104 +0100
52 @@ -53,7 +53,7 @@
53 /* get the server address */
54 if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) {
55 if ((host = gethostbyname(chkhost)) == NULL) {
56 - syslog(LOG_ERR, hstrerror(h_errno));
57 + syslog(LOG_ERR, "%s", hstrerror(h_errno));
58 return 0;
59 }
60
61
62
63
64 1.1 net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch
65
66 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch?rev=1.1&view=markup
67 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch?rev=1.1&content-type=text/plain
68
69 Index: vpncwatch-1.7-gcc4.3.patch
70 ===================================================================
71 --- vpncwatch.c.orig 2009-02-08 17:03:14.296036582 +0100
72 +++ vpncwatch.c 2009-02-08 17:02:56.932904474 +0100
73 @@ -31,6 +31,7 @@
74 #include <arpa/inet.h>
75 #include <netdb.h>
76 #include <errno.h>
77 +#include <linux/limits.h>
78
79
80 #include "vpncwatch.h"