summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-23 04:48:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-23 04:48:08 +0000
commit1fee25d6273b06e4e706d5912b7c519f4e98ee5c (patch)
treeb84906c682c5262e4c86b1c4b8a186c8f1eada83 /sys-devel
parentmoved to net-ftp (diff)
downloadhistorical-1fee25d6273b06e4e706d5912b7c519f4e98ee5c.tar.gz
historical-1fee25d6273b06e4e706d5912b7c519f4e98ee5c.tar.bz2
historical-1fee25d6273b06e4e706d5912b7c519f4e98ee5c.zip
fix patch to work with gcc4 #84132 by Mark Loeser
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gdb/Manifest8
-rw-r--r--sys-devel/gdb/files/gdb-6.3-scanmem.patch4
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index f44fb1e4fddf..7ebead07c5e3 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,4 +1,4 @@
-MD5 9c6fcd17e4e9121060dc396fcd37c406 ChangeLog 8929
+MD5 a3cde04610cd4fa71b53683bd015bc62 ChangeLog 9056
MD5 c2e11638acab3f11b88466a4f261eacc gdb-6.0-r1.ebuild 2043
MD5 e0f3ee7e8ce992eefd2302af54b33d6a gdb-6.0.ebuild 1906
MD5 686556423ec5590d0341718d4a545189 gdb-6.1.1.ebuild 1850
@@ -6,8 +6,9 @@ MD5 2a52c4cd9bf5e2667c6bc7312e179fa0 gdb-6.1.ebuild 1807
MD5 4fd3e363d0a40676217df9b0faee4d80 gdb-6.2.1-r1.ebuild 1928
MD5 fb4ab4aaccb90b523c650a5f30d02281 gdb-6.2.1.ebuild 1784
MD5 44fe1e6f031c991736e4ea4b17697926 gdb-6.2.ebuild 1782
-MD5 e03e3288305a431957dde84c8be6eb5a gdb-6.3.ebuild 2400
+MD5 808dbd3f3a7f9981f3416bc2c574af1b gdb-6.3.ebuild 2397
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
+MD5 1132ec19af9b2fc7b47a59998fe6534c gdb-6.3-r1.ebuild 2660
MD5 b3790be989db97b22c599572afbce109 files/digest-gdb-6.2.1-r1 133
MD5 374352fdf0b1516a88eeaf0a921a2208 files/gdb-6.2.1-relative-paths.patch 3499
MD5 7ea8f83bb7b0d70e7e6d6c8cf42292d3 files/gdb-6.x-crash.patch 678
@@ -21,11 +22,12 @@ MD5 adbe09f334ca5267284ca9404400d2f5 files/gdb-6.0-threadver-aug2003.patch 4081
MD5 c87a4627da2b7a05406088f51237e5b4 files/digest-gdb-6.0-r1 127
MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599
MD5 460629563df21e6a68b8941c07d4f30b files/digest-gdb-6.1 131
+MD5 6516e95e4ed8409e4173d7f1f66f03b8 files/digest-gdb-6.3-r1 183
MD5 688c499ca8b7c9006c978595fe5461a7 files/digest-gdb-6.1.1 133
MD5 1da0dcdbff7ba48a06350a28ecdd238e files/gdb-6.1-ppc64-01.patch 359
MD5 cc65dade388e6a21b5858b146f52b6eb files/gdb-6.1-uclibc.patch 6363
MD5 2560a7e81574df415f79e0798503ecc0 files/digest-gdb-6.3 121
MD5 b3790be989db97b22c599572afbce109 files/digest-gdb-6.2.1 133
MD5 2657b597618d0c35b48f47e3f808d171 files/gdb-6.3-relative-paths.patch 3286
-MD5 3364f03833e34831b3cac35017c17593 files/gdb-6.3-scanmem.patch 6661
+MD5 a4610ec65e88f73e0b00b525467a5372 files/gdb-6.3-scanmem.patch 6652
MD5 b676fe75d53ccd00bf7a9b762747fe89 files/gdb-6.3-uclibc.patch 6656
diff --git a/sys-devel/gdb/files/gdb-6.3-scanmem.patch b/sys-devel/gdb/files/gdb-6.3-scanmem.patch
index 7770a2143628..851c358c4a9a 100644
--- a/sys-devel/gdb/files/gdb-6.3-scanmem.patch
+++ b/sys-devel/gdb/files/gdb-6.3-scanmem.patch
@@ -122,7 +122,7 @@ diff -Nrup gdb-6.3.orig/gdb/printcmd.c gdb-6.3/gdb/printcmd.c
+ }
+ for (i = 0; i <= (nfetch - memsize); i++, addr++) {
+ int *pint;
-+ (unsigned char *) pint = (unsigned char *) (data + i);
++ pint = (unsigned char *) (data + i);
+ if (*pint == typi) {
+ printf_filtered("pattern match at ");
+ print_address_numeric((addr), 1, gdb_stdout);
@@ -165,7 +165,7 @@ diff -Nrup gdb-6.3.orig/gdb/printcmd.c gdb-6.3/gdb/printcmd.c
+ if (strncmp("0x", pattern, 2) == 0) {
+ sscanf(pattern, "0x%02x", &typc);
+ } else
-+ (int) typc = atoi(pattern);
++ typc = (unsigned char)atoi(pattern);
+ }
+ printf_filtered(">>>%0x2\n", (int) typc);
+ if (nfetch < memsize) {