summaryrefslogtreecommitdiff
path: root/openembedded/packages/pcmcia-cs/files
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-11-16 16:15:32 +0000
committerRichard Purdie <richard@openedhand.com>2005-11-16 16:15:32 +0000
commitd4f985f2bc606c6767f6c2e96c36c434f4d9fd0b (patch)
tree0a55cfcf0297370bde159af6498e288c49d8b1c6 /openembedded/packages/pcmcia-cs/files
parent7183f6298a60d489ee534802ec5fdd63ba9028b8 (diff)
downloadopenembedded-core-d4f985f2bc606c6767f6c2e96c36c434f4d9fd0b.tar.gz
openembedded-core-d4f985f2bc606c6767f6c2e96c36c434f4d9fd0b.tar.bz2
openembedded-core-d4f985f2bc606c6767f6c2e96c36c434f4d9fd0b.tar.xz
openembedded-core-d4f985f2bc606c6767f6c2e96c36c434f4d9fd0b.zip
GCC 4 fixes for pcmcia-cs and openswan
git-svn-id: https://svn.o-hand.com/repos/poky@180 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/pcmcia-cs/files')
-rw-r--r--openembedded/packages/pcmcia-cs/files/gcc4_fixes.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/openembedded/packages/pcmcia-cs/files/gcc4_fixes.patch b/openembedded/packages/pcmcia-cs/files/gcc4_fixes.patch
new file mode 100644
index 000000000..c68ba7a0f
--- /dev/null
+++ b/openembedded/packages/pcmcia-cs/files/gcc4_fixes.patch
@@ -0,0 +1,26 @@
+Index: pcmcia-cs-3.2.8/debug-tools/lspnp.c
+===================================================================
+--- pcmcia-cs-3.2.8.orig/debug-tools/lspnp.c 2002-02-13 05:45:01.000000000 +0000
++++ pcmcia-cs-3.2.8/debug-tools/lspnp.c 2005-11-11 23:43:33.000000000 +0000
+@@ -496,7 +496,7 @@
+ dump_io_fixed(r); break;
+ }
+ }
+- (u_char *)p += sz + 1;
++ p = (union pnp_resource *) ((u_char *)p + sz + 1);
+ }
+ return (u_char *)p;
+ }
+Index: pcmcia-cs-3.2.8/debug-tools/setpnp.c
+===================================================================
+--- pcmcia-cs-3.2.8.orig/debug-tools/setpnp.c 2001-10-10 02:58:12.000000000 +0000
++++ pcmcia-cs-3.2.8/debug-tools/setpnp.c 2005-11-11 23:44:32.000000000 +0000
+@@ -163,7 +163,7 @@
+ break;
+ }
+ }
+- (u_char *)p += sz + 1;
++ p = (union pnp_resource *) ((u_char *)p + sz + 1);
+ }
+ return (u_char *)p;
+ }