summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-11-04 19:12:33 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-11-04 19:12:33 +0000
commita4cd2495307c01630a3af6a64fb5d544da9f663f (patch)
tree271abc93e5bbabb80bd61c387458a5c71e379c77 /net-misc
parentAutomated update of use.local.desc (diff)
downloadhistorical-a4cd2495307c01630a3af6a64fb5d544da9f663f.tar.gz
historical-a4cd2495307c01630a3af6a64fb5d544da9f663f.tar.bz2
historical-a4cd2495307c01630a3af6a64fb5d544da9f663f.zip
Add a patch to fix corruption on sparc
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tightvnc/ChangeLog6
-rw-r--r--net-misc/tightvnc/Manifest5
-rw-r--r--net-misc/tightvnc/files/1.3.10-sparc.patch24
-rw-r--r--net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild3
4 files changed, 34 insertions, 4 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog
index 539b979c58c8..645ed92751d3 100644
--- a/net-misc/tightvnc/ChangeLog
+++ b/net-misc/tightvnc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/tightvnc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.143 2009/10/04 17:17:54 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.144 2009/11/04 19:12:32 armin76 Exp $
+
+ 04 Nov 2009; Raúl Porcel <armin76@gentoo.org> +files/1.3.10-sparc.patch,
+ tightvnc-1.3.10-r1.ebuild:
+ Add a patch to fix corruption on sparc
04 Oct 2009; Raúl Porcel <armin76@gentoo.org> -tightvnc-1.3.9-r2.ebuild,
-tightvnc-1.3.9-r3.ebuild, -tightvnc-1.3.10.ebuild,
diff --git a/net-misc/tightvnc/Manifest b/net-misc/tightvnc/Manifest
index c31e931588d4..2df011e7f251 100644
--- a/net-misc/tightvnc/Manifest
+++ b/net-misc/tightvnc/Manifest
@@ -1,3 +1,4 @@
+AUX 1.3.10-sparc.patch 796 RMD160 0b389510751093ccbcb9b670557db99c03e35209 SHA1 48a57150039a26046bbd3cdbb849a2e8aa1c6ea8 SHA256 cc5f97b95eba18649fb100083704b92530f59f288c6b9f216b7e6ed83d2a2dc6
AUX 1.3.9-arm.patch 429 RMD160 41cac81f5369a36deb27fb72af1a5a8f7b76e37b SHA1 3423ca7ca6608b6f5a0b34ea935dfbbce9cd5da6 SHA256 19abda69964903c1947b55cbaf14e0238c1fda7a5280b5eff2642c85c78d0514
AUX 1.3.9-fbsd.patch 830 RMD160 53be20b8823e8cce0f7cc9742bacb1b2d8a7649d SHA1 62f364cd571c05c30838910ce764409978453ebb SHA256 f465693797f4631f7d845aa54aa48febfd1182a0472d18e5babf3127e57be0b9
AUX 1.3.9-sh.patch 1204 RMD160 18458b93af970bf36d7d06154bb790f2134088a1 SHA1 702c73bb7d464efb60aae301b3bab88488586ac9 SHA256 a168244429fad90688012293faece03574be479737fae928e52637595ee880b5
@@ -16,6 +17,6 @@ AUX tightvnc.initd 1558 RMD160 1f3d5f7a2a98aa64a9103b36967fb371ecd6b4f9 SHA1 40a
AUX vncviewer.png 495 RMD160 0378b8e33783ea6599e304de8279e0e4a9478ae7 SHA1 c835d70475bde75e93818676b2b43cb8d7f07081 SHA256 dfe4eaf3f68a4905b3ab90e7cae528449c7d13a4f712f97d8855058ed9cc3fc4
DIST tightvnc-1.3.10_javasrc.tar.gz 89641 RMD160 07d8162f1bf96e88d201f0f4dd0e450b11319d85 SHA1 5dd074d6302732a08ba847c45413d566abf6b7e7 SHA256 465a6c90d362029152ea16d0b8e2c29f772b06eeec6c561278390f73d64ec6ec
DIST tightvnc-1.3.10_unixsrc.tar.bz2 1780510 RMD160 0c24207ec13c1d41f445ccbdea16ce2b5d0729a7 SHA1 ab4ed3d8e9d5188edf0ff27fce3027495f1a8851 SHA256 f48c70fea08d03744ae18df6b1499976362f16934eda3275cead87baad585c0d
-EBUILD tightvnc-1.3.10-r1.ebuild 3543 RMD160 c1fd8880f3396110c14d8f735ee3d2184ca28b39 SHA1 d8161d860b8d20e4f0d6b95915e42d650b979962 SHA256 bd1c8c6dde3eef95d150ee6c1b00b0e8438fab7035445ed3d0a2d15e95eef04d
-MISC ChangeLog 21092 RMD160 540def1cba13b9540342081d642dee04240431b9 SHA1 1d28b3cbf33ed632c5927d798289d257142023aa SHA256 4e6468b20464f4a26f89cee3378aca6406f41f185b29e9366accc1978945cba2
+EBUILD tightvnc-1.3.10-r1.ebuild 3583 RMD160 b34705a224560455738955f9e2b8e03d51291656 SHA1 89ac6e403360769986a40f8e426f7ce67d261d14 SHA256 99e9fb9f0c6c4c73f2049eb896cea61c43eef145416b1e9f61c429d03978c5ff
+MISC ChangeLog 21239 RMD160 40504d08498ae801dc2025bbef9dd9ba8a12f508 SHA1 950b6a445ea7be5ec9f39dfd8364c6957947262f SHA256 8274511aece855b1a413928cb0a8800e1b0915e61a294175f999fa33b76415c0
MISC metadata.xml 379 RMD160 be155401d5ff67986af89edbf395b46a01ba6976 SHA1 19539086c3aa290dba3a04a16c216eb34c20d76c SHA256 ff5eef1f3d62cd4f7d2bf129b0763206e3e1a194d6f39e70e752da108c58b43b
diff --git a/net-misc/tightvnc/files/1.3.10-sparc.patch b/net-misc/tightvnc/files/1.3.10-sparc.patch
new file mode 100644
index 000000000000..26b7bddae75b
--- /dev/null
+++ b/net-misc/tightvnc/files/1.3.10-sparc.patch
@@ -0,0 +1,24 @@
+diff -ur vnc_unixsrc.orig/Xvnc/programs/Xserver/include/servermd.h vnc_unixsrc/Xvnc/programs/Xserver/include/servermd.h
+--- vnc_unixsrc.orig/Xvnc/programs/Xserver/include/servermd.h 2009-11-04 18:44:50.000000000 +0000
++++ vnc_unixsrc/Xvnc/programs/Xserver/include/servermd.h 2009-11-04 18:47:48.000000000 +0000
+@@ -421,6 +421,20 @@
+
+ #endif /* Linux/PPC */
+
++#if defined (linux) && defined(__sparc__)
++
++#define IMAGE_BYTE_ORDER MSBFirst
++#define BITMAP_BIT_ORDER MSBFirst
++#define GLYPHPADBYTES 4
++#define GETLEFTBITS_ALIGNMENT 1
++
++#define AVOID_MEMORY_READ
++#define LARGE_INSTRUCTION_CACHE
++#define FAST_CONSTANT_OFFSET_MODE
++#define SHARED_IDCACHE
++
++#endif /* Linux/sparc */
++
+ #if defined(__MACH__) && defined(__POWERPC__)
+
+ #define IMAGE_BYTE_ORDER MSBFirst \ No newline at end of file
diff --git a/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild b/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild
index 7ac6d1e854fc..ad401adf8d89 100644
--- a/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild
+++ b/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild,v 1.7 2009/10/04 17:17:54 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild,v 1.8 2009/11/04 19:12:32 armin76 Exp $
inherit eutils toolchain-funcs java-pkg-opt-2
@@ -70,6 +70,7 @@ src_unpack() {
epatch "${FILESDIR}"/1.3.9-fbsd.patch
epatch "${FILESDIR}"/1.3.9-arm.patch
epatch "${FILESDIR}"/1.3.9-sh.patch
+ epatch "${FILESDIR}"/${PV}-sparc.patch
if use java; then
cd "${WORKDIR}"