[Pkg-wmaker-commits] [wmdiskmon] 24/25: debian/patches/include_ctype.patch: Fixes 'implicit declaration' warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Jan 30 20:51:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmdiskmon.
commit 1b7c894a1d7a014f32f8d5d74c614250e3d87d90
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Sat Jan 30 15:30:42 2016 -0500
debian/patches/include_ctype.patch: Fixes 'implicit declaration' warnings.
---
debian/patches/include_ctype.h.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/include_ctype.h.patch b/debian/patches/include_ctype.h.patch
new file mode 100644
index 0000000..ac105c1
--- /dev/null
+++ b/debian/patches/include_ctype.h.patch
@@ -0,0 +1,15 @@
+Description: Include ctype.h
+ Fixes "implicit declaration of function" warnings for 'isdigit' and 'toupper'.
+Author: Doug Torrance <dtorrance at piedmont.edu>
+Last-Update: 2016-01-30
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -25,6 +25,7 @@
+ #include "config.h"
+ #endif
+
++#include <ctype.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/debian/patches/series b/debian/patches/series
index 6f97c75..157d534 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
kfreebsd_build.patch
fix_typo.patch
+include_ctype.h.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmdiskmon.git
More information about the Pkg-wmaker-commits
mailing list