* [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
@ 2010-10-03 11:49 99% Justin Lecher (jlec)
0 siblings, 0 replies; 1+ results
From: Justin Lecher (jlec) @ 2010-10-03 11:49 UTC (permalink / raw
To: gentoo-commits
jlec 10/10/03 11:49:43
Added: vpncwatch-1.7-Makefile.patch
vpncwatch-1.7-literal.patch
vpncwatch-1.7-gcc4.3.patch
Log:
Imported from sunrise overlay, 258150
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch?rev=1.1&view=markup
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
Index: vpncwatch-1.7-Makefile.patch
===================================================================
--- Makefile 2008-02-04 09:44:34.000000000 +0100
+++ Makefile.new 2009-02-08 18:49:06.061291832 +0100
@@ -10,7 +10,7 @@
OBJS = vpncwatch.o proc.o net.o
CC ?= gcc
-CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
+CFLAGS += -D_GNU_SOURCE
vpncwatch: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS)
@@ -13,7 +13,7 @@
CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
vpncwatch: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
1.1 net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch?rev=1.1&view=markup
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
Index: vpncwatch-1.7-literal.patch
===================================================================
--- net.c 2008-02-04 09:28:51.000000000 +0100
+++ net.c.new 2009-02-08 17:13:31.188241104 +0100
@@ -53,7 +53,7 @@
/* get the server address */
if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) {
if ((host = gethostbyname(chkhost)) == NULL) {
- syslog(LOG_ERR, hstrerror(h_errno));
+ syslog(LOG_ERR, "%s", hstrerror(h_errno));
return 0;
}
1.1 net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch?rev=1.1&view=markup
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
Index: vpncwatch-1.7-gcc4.3.patch
===================================================================
--- vpncwatch.c.orig 2009-02-08 17:03:14.296036582 +0100
+++ vpncwatch.c 2009-02-08 17:02:56.932904474 +0100
@@ -31,6 +31,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
+#include <linux/limits.h>
#include "vpncwatch.h"
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-10-03 11:49 99% [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 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox