summaryrefslogtreecommitdiff
path: root/package/openswan/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-24 20:20:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-24 20:20:09 +0200
commitbad63eb735b13e1f009a19af1dd810f7279c2ba1 (patch)
tree34bcc61fd5814931f3472a594802606316c888a8 /package/openswan/patches
parent57f1ccba214ee4d658fe2bcd61ef51651ade3225 (diff)
gcc 4.4 compatibility patches
* add the rest of the patches missed by the last commit
Diffstat (limited to 'package/openswan/patches')
-rw-r--r--package/openswan/patches/patch-lib_liblwres_Makefile12
-rw-r--r--package/openswan/patches/patch-programs_Makefile_program16
2 files changed, 28 insertions, 0 deletions
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}
+