<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2dbe05bc96fefbc5d6a28e4f0e494e8d44405ca7">https://github.com/macports/macports-ports/commit/2dbe05bc96fefbc5d6a28e4f0e494e8d44405ca7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2dbe05bc96f a2ps: fix build with Xcode gcc
</span>2dbe05bc96f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2dbe05bc96fefbc5d6a28e4f0e494e8d44405ca7
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Wed Sep 11 19:33:27 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> a2ps: fix build with Xcode gcc
</span>---
print/a2ps/Portfile | 7 +-
print/a2ps/files/patch-xcode-gcc.diff | 239 ++++++++++++++++++++++++++++++++++
2 files changed, 245 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/a2ps/Portfile b/print/a2ps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0cb7381a26c..8d9a009f32d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/a2ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/a2ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,11 +24,16 @@ checksums rmd160 f4f61a0c3181366544028d755e1b5fae2e5890fe \
</span>
depends_build bin:psnup:psutils \
port:help2man \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bin/pkg-config:pkgconfig
</span>
depends_lib port:libpaper \
port:boehmgc
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *gcc-4.* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-xcode-gcc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-configure {
reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/a2ps/files/patch-xcode-gcc.diff b/print/a2ps/files/patch-xcode-gcc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0fc691840ae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/a2ps/files/patch-xcode-gcc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,239 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/document.c.orig 2023-02-05 01:40:12.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/document.c 2024-09-11 19:18:49.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -127,10 +127,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fputs (between, stream);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, author_fmt, author, email);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cp = strtok (NULL, ",");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!first)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -188,10 +185,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *cp = xvstrrpl (documentation, DOC_TO_PLAIN);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, format, cp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* 2. Towards HTML */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -203,10 +197,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *cp = xvstrrpl (documentation, DOC_TO_HTML);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, format, cp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* 3. Towards Texinfo */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -217,9 +208,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!documentation)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *cp = xvstrrpl (documentation, DOC_TO_TEXINFO);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, format, cp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/dsc.c.orig 2022-06-12 04:35:11.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/dsc.c 2024-09-11 19:19:05.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -187,10 +187,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * 2. fewer sources of differences in regression tests */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ values = (char **) string_htable_dump_sorted (entry->entries);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i = 0 ; values[i] ; i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, first ? fmt_first : fmt_others, entry->key, values[i]);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ first = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/encoding.c.orig 2024-03-13 09:24:28.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/encoding.c 2024-09-11 19:19:17.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -650,19 +650,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Grow the obstack with the doc content */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_grow (&documentation_stack, buf2, read_length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!strprefix ("EndDocumentation", buf2))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error (1, 0, fname, firstline,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _("missing argument for `%s'"), "`Documentation'");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Finish the obstack, and store in the encoding entry */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_1grow (&documentation_stack, '\0');
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wsign-conversion"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ documentation =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (char *) obstack_finish (&documentation_stack);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_free (&documentation_stack, documentation);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ encoding->documentation = xstrdup (documentation);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/jobs.c.orig 2024-03-13 09:24:28.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/jobs.c 2024-09-11 19:19:33.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -151,11 +151,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ paper != NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ paper = papernext (paper))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wfloat-conversion"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int w = rint (paperpswidth (paper));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int h = rint (paperpsheight (paper));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_medium_with_default_margin (res, papername (paper),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (unsigned) w,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (unsigned) h);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/metaseq.c.orig 2022-06-12 05:22:04.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/metaseq.c 2024-09-11 19:20:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -318,10 +318,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ context_name, "%D{}");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buf2[j] = '\0';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strftime (buf, sizeof (buf), buf2, &job->run_tm);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -631,10 +628,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ context_name, "$D{}");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buf2[j] = '\0';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strftime (buf, sizeof (buf), buf2, &(file->mod_tm));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1306,10 +1300,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ job, file, context_name, str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_1grow (&user_string_stack, '\0');
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wsign-conversion"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ res = obstack_finish (&user_string_stack);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_free (&user_string_stack, res);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ message (msg_meta,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/pathwalk.c.orig 2023-02-05 01:40:12.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/pathwalk.c 2024-09-11 19:20:10.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -190,10 +190,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (path)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while (*path) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, format, *path);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path++;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/printers.c.orig 2022-06-12 04:35:11.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/printers.c 2024-09-11 19:20:18.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -381,10 +381,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ? _("saved into the file `%s'")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : _("sent to the printer `%s'"));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ res = XNMALLOC (strlen (format) + strlen (name), char);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sprintf (res, format, name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return res;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/prolog.c.orig 2024-03-13 09:24:28.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/prolog.c 2024-09-11 19:20:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -103,10 +103,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size_t bufsiz = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char buf2[BUFSIZ];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fprintf (stream, name_format, prologue_name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ filename = xpw_find_file (job->common.path, prologue_name, PS_PROLOGUE_SUFFIX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fp = xrfopen (filename);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -130,12 +127,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lastline++;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (*documentation_fn) (buf2, "%s", stream);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!strprefix (END_DOC_TAG, buf2))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error (1, 0, filename, firstline,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _("missing argument for `%s'"), "`Documentation'");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -178,11 +172,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prologues_list_texinfo (a2ps_job * job, FILE * stream)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fputs ("@table @samp\n", stream);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prologues_list_long_internal (job, stream,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "@item %s\n", documentation_print_texinfo);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fputs ("@end table\n", stream);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liba2ps/routines.c.orig 2023-02-05 01:40:12.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liba2ps/routines.c 2024-09-11 19:21:07.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,11 +116,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ message (msg_file,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (stderr, "%s-fopen (%s)\n", rights, quotearg (filename)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ res = fopen (filename, rights);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!res)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error (1, errno, format, quotearg (filename));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return res;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -149,11 +146,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ message (msg_file,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (stderr, "%s-popen (%s)\n", rights, filename));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ res = popen (filename, rights);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!res)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error (1, errno, format, quotearg (filename));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return res;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/buffer.c.orig 2022-06-12 03:51:44.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/buffer.c 2024-09-11 19:21:42.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -396,10 +396,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test on the length of the buffer. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buffer->len = obstack_object_size (&buffer->obstack);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ obstack_1grow (&buffer->obstack, '\0');
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic ignored "-Wsign-conversion"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buffer->content = obstack_finish (&buffer->obstack);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* One more line read */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buffer->line++;
</span></pre><pre style='margin:0'>
</pre>