Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2006 23:40:21 GMT
From:      Marius Strobl <marius@alchemy.franken.de>
To:        freebsd-sparc64@FreeBSD.org
Subject:   Re: sparc64/102594: wrong colors
Message-ID:  <200608282340.k7SNeLhf073818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/102594; it has been noted by GNATS.

From: Marius Strobl <marius@alchemy.franken.de>
To: =?unknown-8bit?Q?G=FCrkan?= <gurkan@linuks.mine.nu>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: sparc64/102594: wrong colors
Date: Tue, 29 Aug 2006 01:36:32 +0200

 --YZ5djTAD1cGYuMQK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Mon, Aug 28, 2006 at 07:48:00AM +0000, Grkan wrote:
 > 
 > run bubblemon remotely via, say ssh -CX from a linux x86 machine and you get
 > red water (which should be blue).
 > 
 
 The below patch should fix this (create a 'files' subdirectory
 before applying to the port).
 
 Marius
 
 
 --YZ5djTAD1cGYuMQK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="bubblemon-dockapp.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /mnt/futile/usr/data/bsd/cvs/fbsd/ports/sysutils/bubblemon-dockapp/Makefile,v
 retrieving revision 1.13
 diff -u -r1.13 Makefile
 --- Makefile	13 May 2006 04:15:25 -0000	1.13
 +++ Makefile	28 Aug 2006 16:21:24 -0000
 @@ -7,7 +7,7 @@
  
  PORTNAME=	bubblemon-dockapp
  PORTVERSION=	1.46
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	sysutils
  MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/
  DISTNAME=	${PORTNAME}-${PORTVERSION:S/0$//}
 Index: files/patch-bubblemon.c
 ===================================================================
 RCS file: files/patch-bubblemon.c
 diff -N files/patch-bubblemon.c
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ files/patch-bubblemon.c	28 Aug 2006 23:11:02 -0000
 @@ -0,0 +1,11 @@
 +--- bubblemon.c.orig	Wed Oct  1 02:37:32 2003
 ++++ bubblemon.c	Tue Aug 29 01:10:47 2006
 +@@ -912,7 +912,7 @@
 + 
 +     while (i--) {
 + 	unsigned char *rgb = (unsigned char *) &col[*buf_ptr++];
 +-#if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) || defined(_LITTLE_ENDIAN) || (BYTE_ORDER == LITTLE_ENDIAN)
 ++#if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) || (defined(_LITTLE_ENDIAN) && !defined(__FreeBSD__)) || (defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && (BYTE_ORDER == LITTLE_ENDIAN))
 + 	*ptr++ = rgb[2];
 + 	*ptr++ = rgb[1];
 + 	*ptr++ = rgb[0];
 
 --YZ5djTAD1cGYuMQK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608282340.k7SNeLhf073818>