Ticket #33468: gdb-7.4.1.patch
File gdb-7.4.1.patch, 1.5 KB (added by robsonpeixoto@…, 12 years ago) |
---|
-
files/buggy-memset.patch
1 diff -Naurp gdb-7.3.orig/bfd/bfdio.c gdb-7.3/bfd/bfdio.c2 --- gdb-7.3.orig/bfd/bfdio.c 2010-06-09 06:28:31.000000000 -07003 +++ gdb-7.3/bfd/bfdio.c 2012-03-29 15:52:22.000000000 -07004 @@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *st5 {6 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream;7 8 - memset (statbuf, 0, sizeof (statbuf));9 + memset (statbuf, 0, sizeof (*statbuf));10 statbuf->st_size = bim->size;11 12 return 0; -
Portfile
5 5 PortGroup muniversal 1.0 6 6 7 7 name gdb 8 version 7. 38 version 7.4.1 9 9 revision 1 10 10 categories devel 11 11 maintainers dweber openmaintainer … … 33 33 34 34 use_bzip2 yes 35 35 36 checksums sha1 fefd90275d6decdca00c5c29c533e2ef3d439664\37 rmd160 3df9a15e2d276f4f7f30e5d2a7d86a8c63f30a3436 checksums sha1 1b0f8c3778d4b10c8d2be6922ac01a9900e8116c \ 37 rmd160 a1273705aafd0c4d38b5836d0b096bbdbc6ee897 38 38 39 39 depends_build port:gettext 40 40 … … 46 46 } 47 47 } 48 48 49 patch.pre_args -p150 patchfiles buggy-memset.patch51 52 49 configure.args-append \ 53 50 --infodir=${prefix}/share/info \ 54 51 --mandir=${prefix}/share/man \