summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-10-07 17:23:06 +0000
committerJustin Lecher <jlec@gentoo.org>2011-10-07 17:23:06 +0000
commitde2e50afe18afe223803a96f55b9a77db69c603f (patch)
treec70ef6835a6084279fa177b2afbcf7d864ef6527 /net-misc/vpncwatch/files
parent2011.09.30 version bump (bug #385187). (diff)
downloadgentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.tar.gz
gentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.tar.bz2
gentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.zip
Version Bump, #382843
(Portage version: 2.2.0_alpha62/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/vpncwatch/files')
-rw-r--r--net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch b/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch
new file mode 100644
index 000000000000..cab556c95352
--- /dev/null
+++ b/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch
@@ -0,0 +1,23 @@
+ Makefile | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 901e0ae..599499a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,13 +10,13 @@ OBJS = vpncwatch.o proc.o net.o
+ DISTFILES = AUTHORS COPYING README Makefile $(SRCS) $(HDRS) vpnc-watch.py
+
+ CC ?= gcc
+-CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
++CFLAGS += -D_GNU_SOURCE -Wall
+
+ # Update version in vpncwatch.h as well
+ TAG = vpncwatch-1.8
+
+ vpncwatch: $(OBJS)
+- $(CC) $(CFLAGS) -o $@ $(OBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
+
+ .c.o:
+ $(CC) $(CFLAGS) -c -o $@ $<