Annotation of /trunk/slang/patches/slang-2.2.4-memset.patch
Parent Directory | Revision Log
Revision 2492 -
(hide annotations)
(download)
Mon Sep 1 14:00:52 2014 UTC (10 years ago) by niro
File size: 1054 byte(s)
Mon Sep 1 14:00:52 2014 UTC (10 years ago) by niro
File size: 1054 byte(s)
-slang 2.2.4 patches
1 | niro | 2492 | From e06be392e42c23dd9bd7205445f3c5232ddb9ed7 Mon Sep 17 00:00:00 2001 |
2 | From: Sergei Trofimovich <slyfox@gentoo.org> | ||
3 | Date: Tue, 19 Nov 2013 15:17:52 +0300 | ||
4 | Subject: [PATCH] modules/png-module.c: add declaration of 'memset' | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | * QA Notice: Package triggers severe warnings which indicate that it | ||
10 | * may exhibit random runtime failures. | ||
11 | * /tmp/portage/sys-libs/slang-2.2.4/work/slang-2.2.4/modules/png-module.c:122:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] | ||
12 | |||
13 | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||
14 | --- | ||
15 | modules/png-module.c | 1 + | ||
16 | 3 files changed, 403 insertions(+), 259 deletions(-) | ||
17 | |||
18 | diff --git a/modules/png-module.c b/modules/png-module.c | ||
19 | index 92ede3d..fed9392 100644 | ||
20 | --- a/modules/png-module.c | ||
21 | +++ b/modules/png-module.c | ||
22 | @@ -23,6 +23,7 @@ USA. | ||
23 | #include "config.h" | ||
24 | |||
25 | #include <stdio.h> | ||
26 | +#include <string.h> /* memset() */ | ||
27 | #include <errno.h> | ||
28 | #include <slang.h> | ||
29 | |||
30 | -- | ||
31 | 1.8.4 | ||
32 |