Package: gtkterm
Followup-For: Bug #1066645
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch

Please find attached a patch for this issue which has been uploaded to
Ubuntu.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru gtkterm-1.2.1/debian/patches/no-implicit-declarations.patch 
gtkterm-1.2.1/debian/patches/no-implicit-declarations.patch
--- gtkterm-1.2.1/debian/patches/no-implicit-declarations.patch 1969-12-31 
16:00:00.000000000 -0800
+++ gtkterm-1.2.1/debian/patches/no-implicit-declarations.patch 2024-04-09 
22:49:04.000000000 -0700
@@ -0,0 +1,28 @@
+Description: add missing includes
+Author: Steve Langasek <steve.langa...@canonical.com>
+Bug-Debian: https://bugs.debian.org/1066645
+Last-Update: 2024-04-09
+Forwarded: no
+
+Index: gtkterm-1.2.1/src/interface.c
+===================================================================
+--- gtkterm-1.2.1.orig/src/interface.c
++++ gtkterm-1.2.1/src/interface.c
+@@ -79,6 +79,7 @@
+ #include "logging.h"
+ 
+ #include <config.h>
++#include <glib/gstdio.h>
+ #include <glib/gi18n.h>
+ 
+ guint id;
+Index: gtkterm-1.2.1/src/user_signals.c
+===================================================================
+--- gtkterm-1.2.1.orig/src/user_signals.c
++++ gtkterm-1.2.1/src/user_signals.c
+@@ -1,3 +1,5 @@
++#include <glib.h>
++#include <glib-unix.h>
+ #include <gtk/gtk.h>
+ #include "interface.h"
+ 
diff -Nru gtkterm-1.2.1/debian/patches/series 
gtkterm-1.2.1/debian/patches/series
--- gtkterm-1.2.1/debian/patches/series 1969-12-31 16:00:00.000000000 -0800
+++ gtkterm-1.2.1/debian/patches/series 2024-04-09 22:48:12.000000000 -0700
@@ -0,0 +1 @@
+no-implicit-declarations.patch

Reply via email to