Package: wordplay
Version: 7.22-17
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

As the build log checks show [1], there are implicit function declarations in
wordplay.c. These "might hide issues the compiler could otherwise warn about
or cause bad code," so they should probably be patched.

[1] https://qa.debian.org/bls/packages/w/wordplay.html

In Ubuntu, the attached patch was applied to achieve the following:

  * wordplay.c: Include stdlib.h to fix implicit function declarations.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u wordplay-7.22/wordplay.c wordplay-7.22/wordplay.c
--- wordplay-7.22/wordplay.c
+++ wordplay-7.22/wordplay.c
@@ -138,6 +138,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#include <stdlib.h>
 
 #define max(A, B) ((A) > (B) ? (A) : (B))
 #define min(A, B) ((A) < (B) ? (A) : (B))

Reply via email to