aboutsummaryrefslogtreecommitdiffstats
path: root/devel/anjuta
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-14 12:42:37 +0800
committermarcus <marcus@FreeBSD.org>2004-04-14 12:42:37 +0800
commit6c60af3dd527d10539b843393554def3a87e66d1 (patch)
tree5800dffef9e1ab5618891fe40e0524cb440f6eaf /devel/anjuta
parentb261902930198f53de6982ad3969675ef0816218 (diff)
downloadfreebsd-ports-graphics-6c60af3dd527d10539b843393554def3a87e66d1.tar.gz
freebsd-ports-graphics-6c60af3dd527d10539b843393554def3a87e66d1.tar.zst
freebsd-ports-graphics-6c60af3dd527d10539b843393554def3a87e66d1.zip
Fix build on 4.X.
Diffstat (limited to 'devel/anjuta')
-rw-r--r--devel/anjuta/files/patch-src_breakpoints.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/anjuta/files/patch-src_breakpoints.c b/devel/anjuta/files/patch-src_breakpoints.c
new file mode 100644
index 00000000000..460aff3e709
--- /dev/null
+++ b/devel/anjuta/files/patch-src_breakpoints.c
@@ -0,0 +1,21 @@
+--- breakpoints.c.orig Wed Apr 14 00:36:58 2004
++++ breakpoints.c Wed Apr 14 00:37:19 2004
+@@ -1409,8 +1409,9 @@
+ ptr1 = strchr (ptr, '\n');
+ if (ptr1)
+ {
+- *ptr1++ = '\0';
+ const gchar condition_prefix[] = "\tstop only if ";
++ const gchar ignore_prefix[] = "\tignore next ";
++ *ptr1++ = '\0';
+ if (g_str_has_prefix (ptr1, condition_prefix))
+ {
+ ptr1 += sizeof(condition_prefix) - 1;
+@@ -1418,7 +1419,6 @@
+ ptr1 = strchr (cond, '\n');
+ if (ptr1) *ptr1++ = '\0';
+ }
+- const gchar ignore_prefix[] = "\tignore next ";
+ if (g_str_has_prefix (ptr1, ignore_prefix))
+ {
+ ptr1 += sizeof(ignore_prefix) - 1;