Bug#1066584: gnome-breakout: FTBFS: anim.c:58:17: error: implicit declaration of function =?UTF-8?Q?=E2=80=98gb=5Ferror=E2=80=99; ?= did you mean ‘g_error’? [-Werror=implicit-function-declaration]
Steve Langasek
steve.langasek at ubuntu.com
Wed Apr 10 05:59:21 BST 2024
Package: gnome-breakout
Followup-For: Bug #1066584
User: ubuntu-devel at 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/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru gnome-breakout-0.5.3/debian/patches/no-implicit-declarations.patch gnome-breakout-0.5.3/debian/patches/no-implicit-declarations.patch
--- gnome-breakout-0.5.3/debian/patches/no-implicit-declarations.patch 1969-12-31 16:00:00.000000000 -0800
+++ gnome-breakout-0.5.3/debian/patches/no-implicit-declarations.patch 2024-04-09 21:55:20.000000000 -0700
@@ -0,0 +1,30 @@
+Description: fix missing gb_error() prototype
+Author: Steve Langasek <steve.langasek at canonical.com>
+Bug-Debian: https://bugs.debian.org/1066584
+Last-Update: 2024-04-09
+Forwarded: no
+
+Index: gnome-breakout-0.5.3/src/anim.c
+===================================================================
+--- gnome-breakout-0.5.3.orig/src/anim.c
++++ gnome-breakout-0.5.3/src/anim.c
+@@ -11,6 +11,7 @@
+ #include"gui.h"
+ #include"animloc.h"
+ #include"anim.h"
++#include "util.h"
+
+ /* Database of all the animations */
+ static Animation *animations;
+Index: gnome-breakout-0.5.3/src/gui.c
+===================================================================
+--- gnome-breakout-0.5.3.orig/src/gui.c
++++ gnome-breakout-0.5.3/src/gui.c
+@@ -14,6 +14,7 @@
+ #include "gui-callbacks.h"
+ #include "game.h"
+ #include "anim.h"
++#include "util.h"
+
+ /* See gui.h for more info */
+ static GuiInfo *gui = NULL;
diff -Nru gnome-breakout-0.5.3/debian/patches/series gnome-breakout-0.5.3/debian/patches/series
--- gnome-breakout-0.5.3/debian/patches/series 2018-09-13 05:13:26.000000000 -0700
+++ gnome-breakout-0.5.3/debian/patches/series 2024-04-09 21:52:53.000000000 -0700
@@ -7,3 +7,4 @@
07_fix_wformat_warnings.patch
08_link_mathlib.patch
09_goocanvas_port.patch
+no-implicit-declarations.patch
More information about the Pkg-games-devel
mailing list