From 6c60af3dd527d10539b843393554def3a87e66d1 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 14 Apr 2004 04:42:37 +0000 Subject: Fix build on 4.X. --- devel/anjuta/files/patch-src_breakpoints.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 devel/anjuta/files/patch-src_breakpoints.c (limited to 'devel') diff --git a/devel/anjuta/files/patch-src_breakpoints.c b/devel/anjuta/files/patch-src_breakpoints.c new file mode 100644 index 000000000000..460aff3e709d --- /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; -- cgit