summaryrefslogtreecommitdiff
path: root/packages/openswan
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openswan')
-rw-r--r--packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch11
-rw-r--r--packages/openswan/openswan_2.2.0.bb1
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch b/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch
new file mode 100644
index 0000000000..e54ff1c63a
--- /dev/null
+++ b/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch
@@ -0,0 +1,11 @@
+--- openswan-2.2.0/programs/Makefile.program.orig 2005-12-17 17:15:13 +0100
++++ openswan-2.2.0/programs/Makefile.program 2005-12-17 17:15:36 +0100
+@@ -114,7 +110,7 @@
+ endif
+
+ # cancel the rule that compiles directly
+-%: %.c
++%: %.c
+
+ %: %.o $(OBJS) $(OPENSWANLIB)
+ $(CC) $(CFLAGS) -o $@ $@.o ${OBJS} $(LDFLAGS) $(LIBS)
diff --git a/packages/openswan/openswan_2.2.0.bb b/packages/openswan/openswan_2.2.0.bb
index 5246b0044a..3087b21ec3 100644
--- a/packages/openswan/openswan_2.2.0.bb
+++ b/packages/openswan/openswan_2.2.0.bb
@@ -12,6 +12,7 @@ PR = "r4"
SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \
file://openswan-2.2.0-gentoo.patch;patch=1 \
file://gcc4-fixes.patch;patch=1 \
+ file://makefile-whitespace-fix.patch;patch=1 \
file://ld-library-path-breakage.patch;patch=1"
S = "${WORKDIR}/openswan-${PV}"