vpnc needs an include dir
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 17 Jul 2007 19:16:32 +0000 (19:16 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 17 Jul 2007 19:16:32 +0000 (19:16 -0000)
package/vpnc/vpnc-0.4.0.patch [new file with mode: 0644]

diff --git a/package/vpnc/vpnc-0.4.0.patch b/package/vpnc/vpnc-0.4.0.patch
new file mode 100644 (file)
index 0000000..9520c3f
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN vpnc-0.4.0-0rig/Makefile vpnc-0.4.0/Makefile
+--- vpnc-0.4.0-0rig/Makefile   2007-02-19 21:51:12.000000000 +0100
++++ vpnc-0.4.0/Makefile        2007-07-17 19:59:53.000000000 +0200
+@@ -35,7 +35,7 @@
+ RELEASE_VERSION := $(shell cat VERSION)
+ CC=gcc
+-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
++CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g -I$(INCLUDE)
+ CPPFLAGS = -DVERSION=\"$(VERSION)\"
+ LDFLAGS = -g $(shell libgcrypt-config --libs)
+ CFLAGS +=  $(shell libgcrypt-config --cflags)