summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openembedded/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch11
-rw-r--r--openembedded/packages/openswan/openswan_2.2.0.bb1
2 files changed, 12 insertions, 0 deletions
diff --git a/openembedded/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch b/openembedded/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch
new file mode 100644
index 000000000..e54ff1c63
--- /dev/null
+++ b/openembedded/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/openembedded/packages/openswan/openswan_2.2.0.bb b/openembedded/packages/openswan/openswan_2.2.0.bb
index 5246b0044..3087b21ec 100644
--- a/openembedded/packages/openswan/openswan_2.2.0.bb
+++ b/openembedded/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}"