+++ /dev/null
---- 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 $@ $<
-
+++ /dev/null
---- 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"
-
+++ /dev/null
---- 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;
- }
-