OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 10-Jan-2003 11:40:20 Branch: HEAD Handle: 2003011010401802 Added files: openpkg-src/gdb gdb.patch Modified files: openpkg-src/gdb gdb.spec openpkg-web news.txt Log: port to FreeBSD 5.0 Summary: Revision Changes Path 1.3 +20 -0 openpkg-src/gdb/gdb.patch 1.17 +3 -1 openpkg-src/gdb/gdb.spec 1.2633 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/gdb/gdb.patch ============================================================================ $ cvs diff -u -r0 -r1.3 gdb.patch --- /dev/null 2003-01-10 11:40:20.000000000 +0100 +++ gdb.patch 2003-01-10 11:40:20.000000000 +0100 @@ -0,0 +1,20 @@ +--- gdb/i386bsd-nat.c 2003/01/02 20:22:00 1.1 ++++ gdb/i386bsd-nat.c 2003/01/02 20:22:35 +@@ -306,7 +306,7 @@ + /* For some mysterious reason, some of the reserved bits in the + debug control register get set. Mask these off, otherwise the + ptrace call below will fail. */ +- dbregs.dr7 &= ~(0x0000fc00); ++ DBREG_DRX ((&dbregs), 7) = ~(0x0000fc00); + + DBREG_DRX ((&dbregs), regnum) = value; + +@@ -355,7 +355,7 @@ + return 0; + #endif + +- return dbregs.dr6; ++ return DBREG_DRX ((&dbregs), 6); + } + + #endif /* PT_GETDBREGS */ @@ . patch -p0 <<'@@ .' Index: openpkg-src/gdb/gdb.spec ============================================================================ $ cvs diff -u -r1.16 -r1.17 gdb.spec --- openpkg-src/gdb/gdb.spec 3 Jan 2003 10:52:06 -0000 1.16 +++ openpkg-src/gdb/gdb.spec 10 Jan 2003 10:40:20 -0000 1.17 @@ -33,10 +33,11 @@ Distribution: OpenPKG [BASE] License: GPL Version: 5.3 -Release: 20021212 +Release: 20030110 # list of sources Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz +Patch0: gdb.patch # build information Prefix: %{l_prefix} @@ -53,6 +54,7 @@ %prep %setup -q + %patch -p0 %build CC="%{l_cc}" \ @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.2632 -r1.2633 news.txt --- openpkg-web/news.txt 10 Jan 2003 09:58:10 -0000 1.2632 +++ openpkg-web/news.txt 10 Jan 2003 10:40:18 -0000 1.2633 @@ -1,3 +1,4 @@ +10-Jan-2003: Upgraded package: P<gdb-5.3-20030110> 10-Jan-2003: Upgraded package: P<vim-6.1.287-20030110> 10-Jan-2003: Upgraded package: P<openpkg-tool-20030110-20030110> 10-Jan-2003: Upgraded package: P<tidy-20030108-20030110> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]