Bug#1066315: kraptor: FTBFS: src/main.c:57:5: error: implicit declaration of function ‘mkdir’ [-Werror=implicit-function-declaration]
Steve Langasek
steve.langasek at ubuntu.com
Sat Apr 13 00:49:43 BST 2024
Package: kraptor
Followup-For: Bug #1066315
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 kraptor-0.0.20040403+ds/debian/patches/no-implicit-declarations.patch kraptor-0.0.20040403+ds/debian/patches/no-implicit-declarations.patch
--- kraptor-0.0.20040403+ds/debian/patches/no-implicit-declarations.patch 1969-12-31 16:00:00.000000000 -0800
+++ kraptor-0.0.20040403+ds/debian/patches/no-implicit-declarations.patch 2024-04-12 16:42:20.000000000 -0700
@@ -0,0 +1,18 @@
+Description: add missing include
+Author: Steve Langasek <steve.langasek at canonical.com>
+Bug-Debian: https://bugs.debian.org/1066315
+Last-Update: 2024-04-12
+Forwarded: no
+
+Index: kraptor-0.0.20040403+ds/src/main.c
+===================================================================
+--- kraptor-0.0.20040403+ds.orig/src/main.c
++++ kraptor-0.0.20040403+ds/src/main.c
+@@ -19,6 +19,7 @@
+ // --------------------------------------------------------
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <sys/stat.h>
+ #include <string.h>
+ #include <allegro.h>
+ #include <aldumb.h> /* DUMB: musica MOD, XM, etc */
diff -Nru kraptor-0.0.20040403+ds/debian/patches/series kraptor-0.0.20040403+ds/debian/patches/series
--- kraptor-0.0.20040403+ds/debian/patches/series 2024-01-04 16:48:45.000000000 -0800
+++ kraptor-0.0.20040403+ds/debian/patches/series 2024-04-12 16:40:54.000000000 -0700
@@ -14,3 +14,4 @@
14_create-hidden-kraptor-directory-in-home.patch
15_reproducible-build.patch
fix_building_kraptor_with_fix_functions.patch
+no-implicit-declarations.patch
More information about the Pkg-games-devel
mailing list