Package: openswan
Version: 1:2.6.23+dfsg-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
Hi,
This can be fixed by changing the compilation options, even if the real fix has
to come from upstream.
Thanks,
Fabrice
*** /tmp/tmp2WQt92
In Ubuntu, we've applied the attached patch to achieve the following:
* Merge from debian testing, remaining changes: LP: #477504
- Build with -fno-strict-aliasing against gcc 4.4 fix ftbfs LP: #436540
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-14-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u openswan-2.6.23+dfsg/debian/rules openswan-2.6.23+dfsg/debian/rules
--- openswan-2.6.23+dfsg/debian/rules
+++ openswan-2.6.23+dfsg/debian/rules
@@ -6,6 +6,8 @@
#export DH_VERBOSE=1
export DH_OPTIONS
+export CXXFLAGS = -fno-strict-aliasing
+export CFLAGS = -fno-strict-aliasing
ifeq (,$(wildcard /usr/bin/po2debconf))
PO2DEBCONF := no