Package: ace-of-penguins Version: 1.5~rc2-5 Followup-For: Bug #1065046 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu noble ubuntu-patch Control: tags -1 patch
Oops, after this failure there was a second one. Updated patch attached. This time build-tested locally with DEB_CFLAGS_APPEND=-Werror=implicit-function-declaration before submitting... -- 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 ace-of-penguins-1.5~rc2/debian/patches/no-implicit-function-declaration.patch ace-of-penguins-1.5~rc2/debian/patches/no-implicit-function-declaration.patch --- ace-of-penguins-1.5~rc2/debian/patches/no-implicit-function-declaration.patch 1969-12-31 16:00:00.000000000 -0800 +++ ace-of-penguins-1.5~rc2/debian/patches/no-implicit-function-declaration.patch 2024-02-28 23:00:15.000000000 -0800 @@ -0,0 +1,43 @@ +Description: fix missing function declaration + 64-bit time_t requires use of -Werror=implicit-function-declaration, + and we have one here - isgraph(). Include the standard header to fix + the build failure. +Author: Steve Langasek <steve.langa...@canonical.com> +Last-Update: 2024-02-28 +Forwarded: no +Index: ace-of-penguins-1.5~rc2/lib/make-imglib.c +=================================================================== +--- ace-of-penguins-1.5~rc2.orig/lib/make-imglib.c ++++ ace-of-penguins-1.5~rc2/lib/make-imglib.c +@@ -5,6 +5,7 @@ + #include <sys/stat.h> + #include <unistd.h> + #include <dirent.h> ++#include <ctype.h> + + #include <png.h> + +Index: ace-of-penguins-1.5~rc2/lib/imagelib.c +=================================================================== +--- ace-of-penguins-1.5~rc2.orig/lib/imagelib.c ++++ ace-of-penguins-1.5~rc2/lib/imagelib.c +@@ -1,5 +1,6 @@ + #include <stdio.h> + #include <string.h> ++#include <stdlib.h> + #include "imagelib.h" + #include "table.h" + +Index: ace-of-penguins-1.5~rc2/lib/funcs.c +=================================================================== +--- ace-of-penguins-1.5~rc2.orig/lib/funcs.c ++++ ace-of-penguins-1.5~rc2/lib/funcs.c +@@ -18,6 +18,8 @@ + + #include <stdlib.h> + #include "funcs.h" ++#include "table.h" ++#include "cards.h" + + static void + default_click_cb(int x, int y, int b) diff -Nru ace-of-penguins-1.5~rc2/debian/patches/series ace-of-penguins-1.5~rc2/debian/patches/series --- ace-of-penguins-1.5~rc2/debian/patches/series 2023-01-13 13:59:18.000000000 -0800 +++ ace-of-penguins-1.5~rc2/debian/patches/series 2024-02-28 22:58:12.000000000 -0800 @@ -1,2 +1,3 @@ freecell-KDE.patch gcc10.patch +no-implicit-function-declaration.patch