public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Akira TAGOH <akira@tagoh.org>
To: git-commits@fedoraproject.org
Subject: [rpms/paps] rawhide: Add missing patch
Date: Mon, 05 Oct 2026 02:49:07 GMT	[thread overview]
Message-ID: <179116854759.1.13922598914169847614.rpms-paps-3de5ac33f712@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/paps
            Branch : rawhide
            Commit : 3de5ac33f712f492774ed9e7cec7f635b93f887a
            Author : Akira TAGOH <akira@tagoh.org>
            Date   : 2026-10-05T11:48:48+09:00
            Stats  : +53/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/paps/c/3de5ac33f712f492774ed9e7cec7f635b93f887a?branch=rawhide

            Log:
            Add missing patch

[skip changelog]

---
diff --git a/paps068-fix-glib.patch b/paps068-fix-glib.patch
new file mode 100644
index 0000000..b3f6e92
--- /dev/null
+++ b/paps068-fix-glib.patch
@@ -0,0 +1,53 @@
+diff -pruN paps-0.6.8.orig/src/libpaps.c paps-0.6.8/src/libpaps.c
+--- paps-0.6.8.orig/src/libpaps.c	2026-10-05 11:43:21.092682000 +0900
++++ paps-0.6.8/src/libpaps.c	2026-10-05 11:44:33.312485774 +0900
+@@ -240,8 +240,7 @@ gchar *paps_layout_to_postscript_strdup(
+       pos_y -= logical_rect.height * scale;
+     }
+ 
+-  ret_str = layout_str->str;
+-  g_string_free(layout_str, FALSE);
++  ret_str = g_string_free(layout_str, FALSE);
+ 
+   return ret_str;
+ }
+@@ -566,7 +565,7 @@ void draw_bezier_outline(paps_private_t
+                               g_strdup(glyph_hash_string),
+                               id);
+           
+-          g_string_free(glyph_def_string, TRUE);
++          (void) g_string_free(glyph_def_string, TRUE);
+           FT_Done_Glyph (glyph);
+         }
+     }
+diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c
+--- paps-0.6.8.orig/src/paps.c	2026-10-05 11:43:21.096701393 +0900
++++ paps-0.6.8/src/paps.c	2026-10-05 11:44:00.883947727 +0900
+@@ -677,7 +677,7 @@ int main(int argc, char *argv[])
+   print_postscript_trailer(OUT, num_pages);
+ 
+   // Cleanup
+-  g_string_free(ps_pages_string, TRUE);
++  (void) g_string_free(ps_pages_string, TRUE);
+   g_option_context_free(ctxt);
+ 
+   return 0;
+@@ -703,7 +703,7 @@ read_file (FILE   *file,
+       if (ferror (file))
+         {
+           fprintf(stderr, "%s: Error reading file.\n", g_get_prgname ());
+-          g_string_free (inbuf, TRUE);
++          (void) g_string_free (inbuf, TRUE);
+           exit(1);
+         }
+       else if (bp == NULL)
+@@ -731,8 +731,7 @@ read_file (FILE   *file,
+   if (inbuf->str[inbuf->len-1] != '\n')
+     g_string_append(inbuf, "\n");
+ 
+-  text = inbuf->str;
+-  g_string_free (inbuf, FALSE);
++  text = g_string_free (inbuf, FALSE);
+ 
+   return text;
+ }

                 reply	other threads:[~2026-10-05  2:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179116854759.1.13922598914169847614.rpms-paps-3de5ac33f712@fedoraproject.org \
    --to=akira@tagoh.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox