diff options
author | 2010-10-03 11:49:43 +0000 | |
---|---|---|
committer | 2010-10-03 11:49:43 +0000 | |
commit | df8cdb97e504a7695f43fe7be0c37f0e8861674c (patch) | |
tree | 3678277cee76b6452688a8857467e95f5a4ea95d /net-misc/vpncwatch/files | |
parent | QA (diff) | |
download | gentoo-2-df8cdb97e504a7695f43fe7be0c37f0e8861674c.tar.gz gentoo-2-df8cdb97e504a7695f43fe7be0c37f0e8861674c.tar.bz2 gentoo-2-df8cdb97e504a7695f43fe7be0c37f0e8861674c.zip |
Imported from sunrise overlay, 258150
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/vpncwatch/files')
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch | 21 | ||||
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch | 11 | ||||
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch new file mode 100644 index 000000000000..f32e538ade40 --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch @@ -0,0 +1,21 @@ +--- 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 $@ $< + diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch new file mode 100644 index 000000000000..91c3f5b28399 --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch @@ -0,0 +1,11 @@ +--- 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" + diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch new file mode 100644 index 000000000000..2944464c08bc --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch @@ -0,0 +1,11 @@ +--- 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; + } + |