diff options
author | agc <agc@pkgsrc.org> | 2004-01-22 23:14:08 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2004-01-22 23:14:08 +0000 |
commit | f533cdeaeb7ff4d84d1367fdcd84ef80ebeaa748 (patch) | |
tree | 9463dd97e989d61bdb171506a890d4e93688f9b1 /devel/xdelta/patches/patch-aa | |
parent | 816f94091ebb0d12abb2b5386e7789c49279516a (diff) | |
download | pkgsrc-f533cdeaeb7ff4d84d1367fdcd84ef80ebeaa748.tar.gz |
Make this compile with gcc3 - no more multi-line string constants.
Diffstat (limited to 'devel/xdelta/patches/patch-aa')
-rw-r--r-- | devel/xdelta/patches/patch-aa | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/devel/xdelta/patches/patch-aa b/devel/xdelta/patches/patch-aa new file mode 100644 index 00000000000..8799e2fe40f --- /dev/null +++ b/devel/xdelta/patches/patch-aa @@ -0,0 +1,62 @@ +--- xd_edsio.c 2004/01/22 23:08:49 1.1 ++++ xd_edsio.c 2004/01/22 23:11:04 +@@ -220,8 +220,7 @@ + for (i = 0; i < obj->index_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_xdeltachecksum_obj (& (obj->index[i]), indent_spaces + 2); + print_spaces (indent_spaces); +@@ -505,8 +504,7 @@ + for (i = 0; i < obj->source_info_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_xdeltasourceinfo_obj ((obj->source_info[i]), indent_spaces + 2); + print_spaces (indent_spaces); +@@ -522,8 +520,7 @@ + for (i = 0; i < obj->inst_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_xdeltainstruction_obj (& (obj->inst[i]), indent_spaces + 2); + print_spaces (indent_spaces); +@@ -916,8 +913,7 @@ + for (i = 0; i < obj->index_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_rsyncindexelt_obj (& (obj->index[i]), indent_spaces + 2); + print_spaces (indent_spaces); +@@ -1195,8 +1191,7 @@ + for (i = 0; i < obj->source_info_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_version0sourceinfo_obj ((obj->source_info[i]), indent_spaces + 2); + print_spaces (indent_spaces); +@@ -1212,8 +1207,7 @@ + for (i = 0; i < obj->inst_len; i += 1) + { + print_spaces (indent_spaces); +- g_print ("%d: +-", i); ++ g_print ("%d:\n", i); + print_spaces (indent_spaces); + serializeio_print_version0instruction_obj (& (obj->inst[i]), indent_spaces + 2); + print_spaces (indent_spaces); |