ports/116422: [patch] devel/kdbg: fix to allow a core file to be opened

Artem Naluzhnyy tut at nhamon.com.ua
Mon Sep 17 19:20:01 UTC 2007


>Number:         116422
>Category:       ports
>Synopsis:       [patch] devel/kdbg: fix to allow a core file to be opened
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 19:20:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Artem Naluzhnyy
>Release:        7.0-CURRENT
>Organization:
>Environment:
>Description:
This patch fixes ports/104271
>How-To-Repeat:

>Fix:
diff -ruN kdbg.bak/Makefile kdbg/Makefile
--- kdbg.bak/Makefile	2007-05-19 23:02:57.000000000 +0300
+++ kdbg/Makefile	2007-09-17 22:07:43.000000000 +0300
@@ -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}
diff -ruN kdbg.bak/files/patch-gdbdriver.cpp kdbg/files/patch-gdbdriver.cpp
--- kdbg.bak/files/patch-gdbdriver.cpp	1970-01-01 03:00:00.000000000 +0300
+++ kdbg/files/patch-gdbdriver.cpp	2007-09-17 22:08:18.000000000 +0300
@@ -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";
+ 	    }


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list