Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Feb 2000 12:28:00 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16518: fix port: games/xkobo [PATCH]
Message-ID:  <20000206172800.603A11A0E@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         16518
>Category:       ports
>Synopsis:       fix port: games/xkobo [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  6 09:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jan 28 16:46:16 EST 2000     root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON  i386

>Description:

This fixes XKOBO on -STABLE.
Someone reported this to me, but I don't have his
email anymore.. whoever it was - thanks! and sorry
I took so long to send the PR to fix it. :\

Broken by:		Alex Langer <alex@big.endian.de>
Break noticed by:	Alex Langer <alex@big.endian.de>

>How-To-Repeat:

Use the patch below to fix the current port for -STABLE.

>Fix:

diff -urN xkobo/patches/patch-ae xkobo.new/patches/patch-ae
--- xkobo/patches/patch-ae	Thu Jan 27 19:45:32 2000
+++ xkobo.new/patches/patch-ae	Fri Feb  4 16:01:45 2000
@@ -25,7 +25,7 @@
      void make_maze(int x, int y, int difx, int dify);
      void convert(int ratio);   /* ratio < 64 */
 -    inline char& pos(int x, int y){ return data[(y<<sx_log2) + x];}
-+    inline char& pos(int x, int y){ return data[(y<<MAP_SIZEY_LOG2) + x];}
++    inline char& pos(int x, int y){ return data[(y<<MAP_SIZEX_LOG2) + x];}
  };  
  
  

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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