Tags: patch Hi,
,On Wed, Mar 13, 2024 at 12:57:21PM +0100, Lucas Nussbaum wrote:
scm.c: In function ‘service’: scm.c:316:9: error: implicit declaration of function ‘setproctitle’ [-Werror=implicit-function-declaration] 316 | setproctitle("Serving %s", remotehost()); | ^~~~~~~~~~~~ scm.c: In function ‘request’: scm.c:448:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 448 | (void) write(netfile, &x, sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scmio.c: In function ‘readfile’:
I have uploaded it to mentor to wait for sponsoring[0]. But there is one debdiff if you can review it. [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068814 Thanks. -- Regards, -- Bo YU
diff -Nru sup-20100519/debian/changelog sup-20100519/debian/changelog --- sup-20100519/debian/changelog 2020-08-05 19:53:16.000000000 +0800 +++ sup-20100519/debian/changelog 2024-04-11 16:41:22.000000000 +0800 @@ -1,3 +1,12 @@ +sup (20100519-4) unstable; urgency=medium + + * QA upload. + * set std-ver to 4.7.0. + * Add 07_fix-implicit-function-declaration.patch to fix ftbfs issue. + (Closes: #1066658) + + -- Bo YU <tsu.y...@gmail.com> Thu, 11 Apr 2024 16:41:22 +0800 + sup (20100519-3) unstable; urgency=medium * QA upload. diff -Nru sup-20100519/debian/control sup-20100519/debian/control --- sup-20100519/debian/control 2020-08-05 19:48:03.000000000 +0800 +++ sup-20100519/debian/control 2024-04-11 16:03:18.000000000 +0800 @@ -3,7 +3,7 @@ Priority: optional Build-Depends: debhelper-compat (= 13), libwrap0-dev Maintainer: Debian QA Group <packa...@qa.debian.org> -Standards-Version: 4.5.0 +Standards-Version: 4.7.0 Package: sup Architecture: any diff -Nru sup-20100519/debian/patches/07_fix-implicit-function-declaration.patch sup-20100519/debian/patches/07_fix-implicit-function-declaration.patch --- sup-20100519/debian/patches/07_fix-implicit-function-declaration.patch 1970-01-01 07:30:00.000000000 +0730 +++ sup-20100519/debian/patches/07_fix-implicit-function-declaration.patch 2024-04-11 15:59:50.000000000 +0800 @@ -0,0 +1,17 @@ +Description: fix implicit-function-declaration issue +Author: Bo YU <tsu.y...@gmail.com> +Bug: https://bugs.debian.org/1066658 +Last-Update: 2024-04-11 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/scm.c ++++ b/scm.c +@@ -195,6 +195,8 @@ + #define INADDR_LOOPBACK (u_long)0x7f000001 /* 127.0.0.1 */ + #endif + ++void setproctitle(const char *fmt, ...); ++ + char scmversion[] = "4.3 BSD"; + extern int silent; + diff -Nru sup-20100519/debian/patches/series sup-20100519/debian/patches/series --- sup-20100519/debian/patches/series 2020-08-05 19:43:02.000000000 +0800 +++ sup-20100519/debian/patches/series 2024-04-11 15:01:34.000000000 +0800 @@ -4,3 +4,4 @@ 04_fix_man.patch 05_unconst.patch 06_fix_ftbfs.patch +07_fix-implicit-function-declaration.patch
signature.asc
Description: PGP signature