From bad63eb735b13e1f009a19af1dd810f7279c2ba1 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sun, 24 May 2009 20:20:09 +0200
Subject: gcc 4.4 compatibility patches

* add the rest of the patches missed by the last commit
---
 package/openswan/patches/patch-lib_liblwres_Makefile     | 12 ++++++++++++
 package/openswan/patches/patch-programs_Makefile_program | 16 ++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 package/openswan/patches/patch-lib_liblwres_Makefile
 create mode 100644 package/openswan/patches/patch-programs_Makefile_program

(limited to 'package/openswan')

diff --git a/package/openswan/patches/patch-lib_liblwres_Makefile b/package/openswan/patches/patch-lib_liblwres_Makefile
new file mode 100644
index 000000000..30b4b3d8b
--- /dev/null
+++ b/package/openswan/patches/patch-lib_liblwres_Makefile
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- openswan-2.6.21.orig/lib/liblwres/Makefile	2009-03-30 15:11:28.000000000 +0200
++++ openswan-2.6.21/lib/liblwres/Makefile	2009-05-22 01:07:19.000000000 +0200
+@@ -23,7 +23,7 @@ CINCLUDES =	-I${srcdir}${ISCARCH}/includ
+ 		-I${srcdir}../libisc/include \
+ 		-I. -I./include -I${srcdir}include 
+ CDEFINES = -g
+-CWARNINGS = -Werror
++CWARNINGS =
+ 
+ CFLAGS+=${USERCOMPILE} ${PORTINCLUDE} ${CINCLUDES} ${CDEFINES} ${CWARNINGS} 
+ 
diff --git a/package/openswan/patches/patch-programs_Makefile_program b/package/openswan/patches/patch-programs_Makefile_program
new file mode 100644
index 000000000..2fc6e60ce
--- /dev/null
+++ b/package/openswan/patches/patch-programs_Makefile_program
@@ -0,0 +1,16 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- openswan-2.6.21.orig/programs/Makefile.program	2009-03-30 15:11:28.000000000 +0200
++++ openswan-2.6.21/programs/Makefile.program	2009-05-22 01:09:17.000000000 +0200
+@@ -49,9 +49,9 @@ CFLAGS+=-DFINALCONFFILE=\"${FINALCONFFIL
+ CFLAGS+=-DFINALVARDIR=\"${FINALVARDIR}\"
+ 
+ # die if there are any warnings
+-ifndef WERROR
+-WERROR:= -Werror
+-endif
++#ifndef WERROR
++#WERROR:= -Werror
++#endif
+ 
+ CFLAGS+= ${WERROR}
+ 
-- 
cgit v1.2.3