1
0
forked from ports/opt

gdb: updated to 7.0.

This commit is contained in:
Tilman Sauerbeck 2009-10-11 16:45:27 +02:00
parent 8db71b4c6c
commit 4cd039f580
3 changed files with 5 additions and 22 deletions

View File

@ -1,2 +1 @@
c9da266b884fb8fa54df786dfaadbc7a gdb-6.8.tar.bz2
5df490c58764ef07175fc45a6691da83 gdb.diff
3386a7b69c010785c920ffc1e9cb890a gdb-7.0.tar.bz2

View File

@ -4,17 +4,13 @@
# Depends on: ncurses
name=gdb
version=6.8
release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 gdb.diff)
version=7.0
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
# fix the build with gcc 4.4:
patch -p1 -i $SRC/gdb.diff
./configure --prefix=/usr
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{info,share,lib,include}

View File

@ -1,12 +0,0 @@
diff -aur gdb-6.8.orig/gdb/eval.c gdb-6.8/gdb/eval.c
--- gdb-6.8.orig/gdb/eval.c 2008-02-04 01:23:04.000000000 +0100
+++ gdb-6.8/gdb/eval.c 2009-06-11 16:05:46.018550469 +0200
@@ -1647,6 +1647,8 @@
struct type *tmp_type;
int offset_item; /* The array offset where the item lives */
+ memset (subscript_array, 0, sizeof (subscript_array));
+
if (nargs > MAX_FORTRAN_DIMS)
error (_("Too many subscripts for F77 (%d Max)"), MAX_FORTRAN_DIMS);