diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-06-01 15:29:46 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-06-01 15:29:46 +0000 |
commit | 051c547c1697d2ad266c77b850c2f886ed64629f (patch) | |
tree | 2b120d9b0b1eff34d8336384906eeaa3c489f4c0 /x11-misc/piedock/files/piedock-1.6.1-mem.patch | |
parent | Add snapshot of upstream repository masked by keywords (diff) | |
download | gentoo-2-051c547c1697d2ad266c77b850c2f886ed64629f.tar.gz gentoo-2-051c547c1697d2ad266c77b850c2f886ed64629f.tar.bz2 gentoo-2-051c547c1697d2ad266c77b850c2f886ed64629f.zip |
Fix building with libpng16 which doesn't implicitly pull in string.h through png.h anymore wrt #471460 by F. Delente
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'x11-misc/piedock/files/piedock-1.6.1-mem.patch')
-rw-r--r-- | x11-misc/piedock/files/piedock-1.6.1-mem.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/piedock/files/piedock-1.6.1-mem.patch b/x11-misc/piedock/files/piedock-1.6.1-mem.patch new file mode 100644 index 000000000000..7d0c92ac0dcd --- /dev/null +++ b/x11-misc/piedock/files/piedock-1.6.1-mem.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/471460 + +--- src/IconMap.cpp ++++ src/IconMap.cpp +@@ -15,6 +15,7 @@ + #include "WildcardCompare.h" + #include "Png.h" + ++#include <string.h> /* memset */ + #include <algorithm> + #include <sstream> + #include <fstream> +--- src/Png.cpp ++++ src/Png.cpp +@@ -13,6 +13,7 @@ + */ + #include "Png.h" + ++#include <string.h> /* memcpy */ + #include <fstream> + #include <stdexcept> + |