summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2008-01-03 11:48:38 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2008-01-03 11:48:38 +0000
commitade95f31110419b646c7fc5a1d954516e665f860 (patch)
treea31b69f0f5d283d0f9ce2b5a5b404c43f09dbe80
parent- Update to 2.9.5 (diff)
Add a patch to fix handling of .core files.
PR: 116422 Submitted by: Artem Naluzhnyy
Notes
Notes: svn path=/head/; revision=204905
-rw-r--r--devel/kdbg/Makefile2
-rw-r--r--devel/kdbg/files/patch-gdbdriver.cpp11
-rw-r--r--devel/kdbg/pkg-plist2
3 files changed, 13 insertions, 2 deletions
diff --git a/devel/kdbg/Makefile b/devel/kdbg/Makefile
index 52fc1561d4d9..b7874521d468 100644
--- a/devel/kdbg/Makefile
+++ b/devel/kdbg/Makefile
@@ -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 --git a/devel/kdbg/files/patch-gdbdriver.cpp b/devel/kdbg/files/patch-gdbdriver.cpp
new file mode 100644
index 000000000000..90a31916d1bb
--- /dev/null
+++ b/devel/kdbg/files/patch-gdbdriver.cpp
@@ -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";
+ }
diff --git a/devel/kdbg/pkg-plist b/devel/kdbg/pkg-plist
index e6c7717e7be3..cbff95056f70 100644
--- a/devel/kdbg/pkg-plist
+++ b/devel/kdbg/pkg-plist
@@ -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