Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/piedock/files: piedock-1.6.1-mem.patch
Date: Sat, 01 Jun 2013 15:29:50
Message-Id: 20130601152946.C78872171E@flycatcher.gentoo.org
1 ssuominen 13/06/01 15:29:46
2
3 Added: piedock-1.6.1-mem.patch
4 Log:
5 Fix building with libpng16 which doesn't implicitly pull in string.h through png.h anymore wrt #471460 by F. Delente
6
7 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
8
9 Revision Changes Path
10 1.1 x11-misc/piedock/files/piedock-1.6.1-mem.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/piedock/files/piedock-1.6.1-mem.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/piedock/files/piedock-1.6.1-mem.patch?rev=1.1&content-type=text/plain
14
15 Index: piedock-1.6.1-mem.patch
16 ===================================================================
17 http://bugs.gentoo.org/471460
18
19 --- src/IconMap.cpp
20 +++ src/IconMap.cpp
21 @@ -15,6 +15,7 @@
22 #include "WildcardCompare.h"
23 #include "Png.h"
24
25 +#include <string.h> /* memset */
26 #include <algorithm>
27 #include <sstream>
28 #include <fstream>
29 --- src/Png.cpp
30 +++ src/Png.cpp
31 @@ -13,6 +13,7 @@
32 */
33 #include "Png.h"
34
35 +#include <string.h> /* memcpy */
36 #include <fstream>
37 #include <stdexcept>