Package: kcemu Version: 0.5.2+dfsg-1 Followup-For: Bug #1067141 Tags: patch
Hi, I just test the patch and it seems it works. -- Regards, -- Bo YU
diff -Nru kcemu-0.5.2+dfsg/debian/changelog kcemu-0.5.2+dfsg/debian/changelog --- kcemu-0.5.2+dfsg/debian/changelog 2022-11-30 05:53:48.000000000 -0500 +++ kcemu-0.5.2+dfsg/debian/changelog 2024-03-19 11:32:12.000000000 -0400 @@ -1,3 +1,10 @@ +kcemu (0.5.2+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix implicit-function-declaration issue. (Closes: #1067141) + + -- a <tsu.y...@gmail.com> Tue, 19 Mar 2024 11:32:12 -0400 + kcemu (0.5.2+dfsg-1) unstable; urgency=medium * New upstream release diff -Nru kcemu-0.5.2+dfsg/debian/patches/fix-error-implicit-function-declaration.patch kcemu-0.5.2+dfsg/debian/patches/fix-error-implicit-function-declaration.patch --- kcemu-0.5.2+dfsg/debian/patches/fix-error-implicit-function-declaration.patch 1969-12-31 19:00:00.000000000 -0500 +++ kcemu-0.5.2+dfsg/debian/patches/fix-error-implicit-function-declaration.patch 2024-03-19 11:32:02.000000000 -0400 @@ -0,0 +1,28 @@ +Description: fix implicit-function-declaration error +Author: Bo YU <tsu.y...@gmail.com> +Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067141 +Forwarded: https://github.com/t-paul/kcemu/issues/6 +Last-Update: 2024-03-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/sys/mingw/sys_socket_create.c ++++ b/src/sys/mingw/sys_socket_create.c +@@ -18,6 +18,7 @@ + */ + + #include <winsock2.h> ++#include <stdio.h> + + #include "kc/config.h" + #include "sys/sysdep.h" +--- a/src/sys/unix/sys_socket_create.c ++++ b/src/sys/unix/sys_socket_create.c +@@ -23,6 +23,8 @@ + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> ++#include <stdio.h> ++ + + #include "kc/config.h" + #include "sys/sysdep.h" diff -Nru kcemu-0.5.2+dfsg/debian/patches/series kcemu-0.5.2+dfsg/debian/patches/series --- kcemu-0.5.2+dfsg/debian/patches/series 1969-12-31 19:00:00.000000000 -0500 +++ kcemu-0.5.2+dfsg/debian/patches/series 2024-03-19 05:37:35.000000000 -0400 @@ -0,0 +1 @@ +fix-error-implicit-function-declaration.patch
signature.asc
Description: PGP signature