From 6f51486c0f198afc01393602aa84b8d8c214c4f2 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Tue, 31 Jul 2007 13:54:19 +0000 Subject: * debian/patches/pfinet_-fno-strict-aliasing.patch: New patch, adding -fno-strict-aliasing to pfinet's CFLAGS to fix compilation with gcc-4.2, taken from CVS. --- debian/changelog | 3 +++ debian/patches/pfinet_-fno-strict-aliasing.patch | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 debian/patches/pfinet_-fno-strict-aliasing.patch diff --git a/debian/changelog b/debian/changelog index 111b34c2..bf4336f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ hurd (20070606-2+SVN) UNRELEASED; urgency=low * debian/patches/patches/servers.boot-update.patch: New patch, updates the servers.boot script to use the currently used Grub module lines. * debian/hurd.install: Install release/servers.boot into /boot. + * debian/patches/pfinet_-fno-strict-aliasing.patch: New patch, adding + -fno-strict-aliasing to pfinet's CFLAGS to fix compilation with gcc-4.2, + taken from CVS. -- Michael Banck Thu, 26 Jul 2007 15:15:02 +0200 diff --git a/debian/patches/pfinet_-fno-strict-aliasing.patch b/debian/patches/pfinet_-fno-strict-aliasing.patch new file mode 100644 index 00000000..2a536526 --- /dev/null +++ b/debian/patches/pfinet_-fno-strict-aliasing.patch @@ -0,0 +1,17 @@ +2007-07-27 Thomas Schwinge + + * Makefile (CFLAGS): Add ``-fno-strict-aliasing''. + +--- pfinet/Makefile 2002/09/17 20:42:06 1.35 ++++ pfinet/Makefile 2007/07/27 12:39:15 1.36 +@@ -95,6 +95,10 @@ + -I$(srcdir)/glue-include \ + -I$(srcdir)/linux-src/include + ++# Don't ask... We use Linux code. The problem was first noticed when ++# compiling `pfinet' with GCC 4.2. ++CFLAGS += -fno-strict-aliasing ++ + asm/checksum.h: ../config.status + mkdir -p $(@D) + echo > $@.new \ -- cgit v1.2.3