summaryrefslogtreecommitdiff
path: root/debian/patches/17_net_gcc_4.0.patch
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-02-02 03:44:49 +0000
committerGuillem Jover <guillem@debian.org>2006-02-02 03:44:49 +0000
commit14d7bdd2f00afa1fe1f46218f8bb6d0aa4339510 (patch)
tree4804e7c56557b7ad5d467c7eca4712dd2c3e9c11 /debian/patches/17_net_gcc_4.0.patch
parent05e48aded83f979767e259a9e9ddfec394a634d2 (diff)
* New upstream CVS snapshot.
- debian/patches/11_nic_update.patch: Removed, integrated upstream. - debian/patches/17_net_gcc_4.0.patch: Likewise. - debian/patches/20_ide_disable_irqs.patch: Likewise. - debian/patches/31_tls_ldt.patch: Likewise. - debian/patches/00_build_make_beta.patch: Sync. - debian/patches/12_sis900.patch: Likewise. - debian/patches/13_ide_dma.patch: Likewise. - debian/patches/15_mem_obj_proxy.patch: Likewise. - debian/patches/41_io_unlock_ioremove.patch: Likewise. - debian/patches/42_disable_ioperm.patch: Likewise. - debian/patches/45_io_per_task.patch: Likewise. - debian/patches/90_autoconf_autogen.patch: Likewise.
Diffstat (limited to 'debian/patches/17_net_gcc_4.0.patch')
-rw-r--r--debian/patches/17_net_gcc_4.0.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/debian/patches/17_net_gcc_4.0.patch b/debian/patches/17_net_gcc_4.0.patch
deleted file mode 100644
index 9534738..0000000
--- a/debian/patches/17_net_gcc_4.0.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-#DPATCHLEVEL=0
-
-2005-11-05 Thomas Schwinge <tschwinge@gnu.org>
-
- * linux/src/drivers/net/ne2k-pci.c (ne2k_pci_block_input)
- (ne2k_pci_block_output): Fix invalid lvalue errors with gcc 4.0.
-
-
-diff -Naur linux/src/drivers/net/ne2k-pci.c linux/src/drivers/net/ne2k-pci.c
---- linux/src/drivers/net/ne2k-pci.c 2005-11-28 03:34:08.000000000 +0200
-+++ linux/src/drivers/net/ne2k-pci.c 2005-11-28 03:38:41.000000000 +0200
-@@ -546,8 +546,10 @@
- insl(NE_BASE + NE_DATAPORT, buf, count>>2);
- if (count & 3) {
- buf += count & ~3;
-- if (count & 2)
-- *((u16*)buf)++ = le16_to_cpu(inw(NE_BASE + NE_DATAPORT));
-+ if (count & 2) {
-+ *((u16 *) buf) = le16_to_cpu(inw(NE_BASE + NE_DATAPORT));
-+ buf = (void *) buf + sizeof (u16);
-+ }
- if (count & 1)
- *buf = inb(NE_BASE + NE_DATAPORT);
- }
-@@ -609,8 +611,10 @@
- outsl(NE_BASE + NE_DATAPORT, buf, count>>2);
- if (count & 3) {
- buf += count & ~3;
-- if (count & 2)
-- outw(cpu_to_le16(*((u16*)buf)++), NE_BASE + NE_DATAPORT);
-+ if (count & 2) {
-+ outw(cpu_to_le16(*((u16 *) buf)), NE_BASE + NE_DATAPORT);
-+ buf = (void *) buf + sizeof (u16);
-+ }
- }
- }
-