From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/fbgrab/files: fbgrab-1.0-zlib_h.patch |
Date: | Thu, 31 Mar 2011 20:20:23 |
Message-Id: | 20110331202013.2C66720054@flycatcher.gentoo.org |
1 | ssuominen 11/03/31 20:20:13 |
2 | |
3 | Added: fbgrab-1.0-zlib_h.patch |
4 | Log: |
5 | Fix missing zlib.h include for Z_BEST_COMPRESSION wrt #361323 by "Alphat-PC". |
6 | |
7 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: fbgrab-1.0-zlib_h.patch |
16 | =================================================================== |
17 | --- fbgrab.c |
18 | +++ fbgrab.c |
19 | @@ -22,6 +22,7 @@ |
20 | |
21 | #include <getopt.h> |
22 | #include <sys/vt.h> /* to handle vt changing */ |
23 | +#include <zlib.h> /* Z_BEST_COMPRESSION */ |
24 | #include <png.h> /* PNG lib */ |
25 | #include <linux/fb.h> /* to handle framebuffer ioctls */ |