summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <tanderson@gentoo.org>2008-09-24 21:10:49 +0000
committerThomas Anderson <tanderson@gentoo.org>2008-09-24 21:10:49 +0000
commit4062cd9f895f2bc67afa979c5efa13fc74599e11 (patch)
treea6a80077d16ffae9d99fdcffdb657a143803ecd9 /net-misc
parentVersion bump (diff)
downloadhistorical-4062cd9f895f2bc67afa979c5efa13fc74599e11.tar.gz
historical-4062cd9f895f2bc67afa979c5efa13fc74599e11.tar.bz2
historical-4062cd9f895f2bc67afa979c5efa13fc74599e11.zip
Fix grey image problems on amd64; Fixes bug #210036
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/vncsnapshot/ChangeLog6
-rw-r--r--net-misc/vncsnapshot/Manifest13
-rw-r--r--net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch12
-rw-r--r--net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild14
4 files changed, 36 insertions, 9 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/Manifest b/net-misc/vncsnapshot/Manifest
index 1433270e2c8f..53d5acbda753 100644
--- a/net-misc/vncsnapshot/Manifest
+++ b/net-misc/vncsnapshot/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX vncsnapshot-1.2a-amd64grey.patch 408 RMD160 16c4a65f8b4fabe740cd5a41b6c502eb7be6eccd SHA1 6d45d4c64754a7480c7557e7e38b6e72aa217242 SHA256 04f97cc37e33d0925521ab9b3551db06a1cd7e0eff71c5b2eeaa7528658e6318
DIST vncsnapshot-1.2a-src.tar.bz2 70121 RMD160 2c79eaa84943efbfd8b6ce5d3e935e08cdea8261 SHA1 fe948744a320fd6a52efdc8a76b90f41ef6f295d SHA256 ac490c4b3810d419c65cdfb48d742ca382218c3c0f04e7868520ff9a06149ca6
-EBUILD vncsnapshot-1.2a.ebuild 896 RMD160 a5415dd9dd21906aa6081184574fc93af12a02a3 SHA1 57171a29bf3be690c5217fb0aea13963eacd3f0d SHA256 47f52d3fda794e16e0eabde7fe824b5e57cb27e859fe9dbfeea0be7f5237fa4f
-MISC ChangeLog 1448 RMD160 48a4dfa171cac01856eebdc4ee52abcfcb1a1de8 SHA1 54fab321ec30f51a7cd6979ceac908ee9b40f8d0 SHA256 a211ce7c5464d49f57efa75906d1bf2c4306b24d1daa3dc1ddad94968f8ab2b5
+EBUILD vncsnapshot-1.2a.ebuild 1001 RMD160 ef831a66e4e1351e97ab6d522ce2c377a74a341a SHA1 02a996fb6850bce4ab5a89053161728744c055c5 SHA256 8681d75693f64a940ce5ca1f6549f019a5941967b67b5a88f2a211797aa9c204
+MISC ChangeLog 1632 RMD160 02f44019c35033abdd81e77b75e74007472ad24a SHA1 a293aa5e016826c776a5f5537e4afb9343fa7010 SHA256 89183891f65b8d821b1162c0ac4f6a0a029f7d4998c591e1181623a0f5857d2a
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFIDNe0yuNVb5qfaOYRAmOeAKClr6FFOmHFTMDPPOGXHkdgoxKDLACgvn03
-F2c7y8lQYb4MDwF99ezaMAM=
-=4wtJ
+iEYEARECAAYFAkjasKsACgkQF6yMcaBxwHnXuACfXEwggwPSLruuJ/M0rrIcUQ5L
+AEgAoKjng7vUc3op5MWgNVZc4WdWY3Xs
+=J17m
-----END PGP SIGNATURE-----
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