aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-12-20 04:23:35 +0800
committermarcus <marcus@FreeBSD.org>2009-12-20 04:23:35 +0800
commit9ed853c43d3664aafac37b2a97b9d34365025beb (patch)
tree9ad18266181449768a234e6bd9aa20654ea671d4
parent183b713748fd1b7261e5ebc5a517e627abd9d296 (diff)
downloadfreebsd-ports-gnome-9ed853c43d3664aafac37b2a97b9d34365025beb.tar.gz
freebsd-ports-gnome-9ed853c43d3664aafac37b2a97b9d34365025beb.tar.zst
freebsd-ports-gnome-9ed853c43d3664aafac37b2a97b9d34365025beb.zip
Use the gdb6 from ports to satisfy the gdb requirements of Anjuta.
PR: 141780
-rw-r--r--devel/anjuta/Makefile4
-rw-r--r--devel/anjuta/files/patch-plugins_gdb_debugger.c11
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index 68a7acc88d59..17737b3e6278 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -8,6 +8,7 @@
PORTNAME= anjuta
PORTVERSION= 2.28.1.0
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -28,7 +29,8 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext \
libtool:${PORTSDIR}/devel/libtool22 \
${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme \
- exctags:${PORTSDIR}/devel/ctags
+ exctags:${PORTSDIR}/devel/ctags \
+ gdb66:${PORTSDIR}/devel/gdb6
USE_BZIP2= yes
USE_AUTOTOOLS= autotools:run
diff --git a/devel/anjuta/files/patch-plugins_gdb_debugger.c b/devel/anjuta/files/patch-plugins_gdb_debugger.c
new file mode 100644
index 000000000000..3667278cc5c4
--- /dev/null
+++ b/devel/anjuta/files/patch-plugins_gdb_debugger.c
@@ -0,0 +1,11 @@
+--- plugins/gdb/debugger.c.orig 2009-12-19 15:21:02.000000000 -0500
++++ plugins/gdb/debugger.c 2009-12-19 15:21:13.000000000 -0500
+@@ -54,7 +54,7 @@
+
+ #define GDB_PROMPT "(gdb)"
+ #define FILE_BUFFER_SIZE 1024
+-#define GDB_PATH "gdb"
++#define GDB_PATH "gdb66"
+ #define SUMMARY_MAX_LENGTH 90 /* Should be smaller than 4K to be displayed
+ * in GtkCellRendererCell */
+