public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/paps] rawhide: Add missing patch
@ 2026-10-05 2:49 Akira TAGOH
0 siblings, 0 replies; only message in thread
From: Akira TAGOH @ 2026-10-05 2:49 UTC (permalink / raw)
To: git-commits
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;
+ }
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-05 2:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 2:49 [rpms/paps] rawhide: Add missing patch Akira TAGOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox