summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-06-28 12:32:42 +0000
committerkristerw <kristerw@pkgsrc.org>2004-06-28 12:32:42 +0000
commitfe537084b13fabf08a92a4e2ea3f2070c899d57b (patch)
treefe5945a423b95cf61d4c17c0eda4c2220cefa33e /devel
parent4c9e6da9a366020add239b9df58bf1e1a55406d8 (diff)
downloadpkgsrc-fe537084b13fabf08a92a4e2ea3f2070c899d57b.tar.gz
Fix some C99 variable definitions, to make this build with gcc 2.95.
Diffstat (limited to 'devel')
-rw-r--r--devel/anjuta/distinfo4
-rw-r--r--devel/anjuta/patches/patch-aa28
-rw-r--r--devel/anjuta/patches/patch-ab24
3 files changed, 55 insertions, 1 deletions
diff --git a/devel/anjuta/distinfo b/devel/anjuta/distinfo
index c471fc5db11..4a17e940161 100644
--- a/devel/anjuta/distinfo
+++ b/devel/anjuta/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.6 2004/04/21 15:01:28 jmmv Exp $
+$NetBSD: distinfo,v 1.7 2004/06/28 12:32:42 kristerw Exp $
SHA1 (anjuta-1.2.2.tar.gz) = ee956653effb91467b64efd50609d31b17fde789
Size (anjuta-1.2.2.tar.gz) = 8556051 bytes
+SHA1 (patch-aa) = dada6542f50dc70086cb03b9812af23527515d57
+SHA1 (patch-ab) = 298460438d0b7972ddfce01e35bf498aa4751073
SHA1 (patch-ad) = bd35b80fb12c88d3ebda4e607e08f25f7eb6d266
SHA1 (patch-al) = a4958c02654da6a6277ee74559083a1de46048d7
SHA1 (patch-an) = dbb51d78e15e946aa81419750a76189715a8c4ec
diff --git a/devel/anjuta/patches/patch-aa b/devel/anjuta/patches/patch-aa
new file mode 100644
index 00000000000..28e66a24144
--- /dev/null
+++ b/devel/anjuta/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.3 2004/06/28 12:32:42 kristerw Exp $
+
+--- src/debugger.c.orig Mon Jun 28 14:13:36 2004
++++ src/debugger.c Mon Jun 28 14:14:16 2004
+@@ -2108,9 +2108,10 @@
+ void debugger_query_evaluate_expr_tip (const gchar *expr,
+ void (*parser) (GList *outputs, gpointer data), gpointer data)
+ {
++ gchar *printcmd;
+ query_set_verbose (FALSE);
+ query_set_print_staticmembers (FALSE);
+- gchar *printcmd = g_strconcat ("print ", expr, NULL);
++ printcmd = g_strconcat ("print ", expr, NULL);
+ debugger_put_cmd_in_queqe (printcmd, DB_CMD_NONE, parser, data);
+ query_set_verbose (TRUE);
+ query_set_print_staticmembers (TRUE);
+@@ -2120,9 +2121,10 @@
+ void debugger_query_evaluate_expr (const gchar *expr,
+ void (*parser) (GList *outputs, gpointer data), gpointer data)
+ {
++ gchar *printcmd;
+ query_set_print_pretty (TRUE);
+ query_set_verbose (FALSE);
+- gchar *printcmd = g_strconcat ("print ", expr, NULL);
++ printcmd = g_strconcat ("print ", expr, NULL);
+ debugger_put_cmd_in_queqe (printcmd, DB_CMD_SE_MESG | DB_CMD_SE_DIALOG,
+ parser, data);
+ query_set_print_pretty (FALSE);
diff --git a/devel/anjuta/patches/patch-ab b/devel/anjuta/patches/patch-ab
new file mode 100644
index 00000000000..6417cefa9ee
--- /dev/null
+++ b/devel/anjuta/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.5 2004/06/28 12:32:42 kristerw Exp $
+
+--- src/breakpoints.c.orig Mon Jun 28 14:11:34 2004
++++ src/breakpoints.c Mon Jun 28 14:12:49 2004
+@@ -1409,8 +1409,10 @@
+ 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 +1420,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;