1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add a patch to fix handling of .core files.

PR:		116422
Submitted by:	Artem Naluzhnyy
This commit is contained in:
Tilman Keskinoz 2008-01-03 11:48:38 +00:00
parent 2b95502a26
commit ade95f3111
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204905
3 changed files with 13 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= kdbg
PORTVERSION= 2.0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,11 @@
--- kdbg/gdbdriver.cpp.orig 2006-11-18 22:24:56.000000000 +0200
+++ kdbg/gdbdriver.cpp 2007-09-17 21:48:07.000000000 +0300
@@ -301,7 +301,7 @@
}
// use a feasible core-file command
if (m_gdbMajor > 4 || (m_gdbMajor == 4 && m_gdbMinor >= 16)) {
- cmds[DCcorefile].fmt = "target core %s\n";
+ cmds[DCcorefile].fmt = "target FreeBSD-core %s\n";
} else {
cmds[DCcorefile].fmt = "core-file %s\n";
}

View File

@ -132,4 +132,4 @@ share/config/kdbgrc
@dirrm share/apps/kdbg/icons/hicolor
@dirrm share/apps/kdbg/icons
@dirrm share/apps/kdbg
@dirrm share/config
@dirrmtry share/config