diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2008-09-24 21:10:49 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2008-09-24 21:10:49 +0000 |
commit | ce9e88599d8a116f435225a6b52d1ec776156714 (patch) | |
tree | b93f5d98d5864f159e2749b70579d4185b8942eb /net-misc | |
parent | Version bump (diff) | |
download | gentoo-2-ce9e88599d8a116f435225a6b52d1ec776156714.tar.gz gentoo-2-ce9e88599d8a116f435225a6b52d1ec776156714.tar.bz2 gentoo-2-ce9e88599d8a116f435225a6b52d1ec776156714.zip |
Fix grey image problems on amd64; Fixes bug #210036
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/vncsnapshot/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch | 12 | ||||
-rw-r--r-- | net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild | 14 |
3 files changed, 29 insertions, 3 deletions
diff --git a/net-misc/vncsnapshot/ChangeLog b/net-misc/vncsnapshot/ChangeLog index 21da16a07196..03b30254d33a 100644 --- a/net-misc/vncsnapshot/ChangeLog +++ b/net-misc/vncsnapshot/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/vncsnapshot # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vncsnapshot/ChangeLog,v 1.12 2008/04/21 18:06:38 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vncsnapshot/ChangeLog,v 1.13 2008/09/24 21:10:48 gentoofan23 Exp $ + + 24 Sep 2008; Thomas Anderson <gentoofan23@gentoo.org> + +files/vncsnapshot-1.2a-amd64grey.patch, vncsnapshot-1.2a.ebuild: + Fix grey image problems on amd64; Fixes bug #210036 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Fix up metadata.xml. If there's no maintainer for the package, the metadata diff --git a/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch b/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch new file mode 100644 index 000000000000..ee5807b58af9 --- /dev/null +++ b/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch @@ -0,0 +1,12 @@ +diff -aur vncsnapshot-1.2a-orig/rfb.h vncsnapshot-1.2a/rfb.h +--- vncsnapshot-1.2a-orig/rfb.h 2002-02-09 16:00:42.000000000 -0500 ++++ vncsnapshot-1.2a/rfb.h 2008-09-24 16:57:13.000000000 -0400 +@@ -34,7 +34,7 @@ + + // Define the CARD* types as used in X11/Xmd.h + +-typedef unsigned long CARD32; ++typedef unsigned int CARD32; + typedef unsigned short CARD16; + typedef short INT16; + typedef unsigned char CARD8; diff --git a/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild index 9ef64a4d6b2e..9fb9f9852bd2 100644 --- a/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild +++ b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild,v 1.5 2007/07/12 02:52:15 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild,v 1.6 2008/09/24 21:10:48 gentoofan23 Exp $ + +inherit eutils LICENSE="GPL-2" DESCRIPTION="A command-line tool for taking JPEG snapshots of VNC servers" @@ -12,6 +14,14 @@ SLOT="0" DEPEND=">=media-libs/jpeg-6b >=sys-libs/zlib-1.1.4" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-amd64grey.patch" +} + # no configure for this puppy src_compile() { #note: We override CDEBUGFLAGS instead of CFLAGS because otherwise |